Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if the zk proof was generated from credential of trusted issuer #4

Open
Vishwas1 opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@Vishwas1
Copy link
Contributor

Vishwas1 commented Nov 6, 2024

We tried to implement the check here in this commit in the branch issuerValidate. but after wasm-optimization when we tried to upload the contract code to osmosis, we got this error:

osmosisd tx wasm store ./artifacts/issuer_kyc.wasm --from validator --gas-prices 0.025uosmo --gas auto --gas-adjustment 1.3 --node https://rpc.testnet.osmosis.zone/ --yes | jq -rcs '.[0].txhash'
Error: error in json rpc client, with http response metadata: (Status: 413 Request Entity Too Large, Protocol HTTP/1.1). error unmarshalling: invalid character '<' looking for beginning of value

we noticed that size of artifacts/issuer_kyc.wasm file has been increased by 3x from 780kb to 2.9mb because of bloock-poseidon-rs crate. We need to find out optimised way to use poseidon hash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant