Replies: 1 comment 2 replies
-
|
Hi @frolvanya When we index/receive the code arg we received with DeployGlobalContract: How do we get the "actual" code hash (EXXAovPjpJNsScZuX6qd9Ypag9P7N1ispyU2ypauQVGY) from this? For reference this code arg we are getting comes from near lake/neardata We don't do any additional processing from what we receive |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://testnet.nearblocks.io/txns/DuSJsFHrDeCprVfVvpWinQd6nYmYzCWLo5hHnuqUgyHr?tab=execution
near_primitives::views::ActionView::DeployGlobalContracthas a fieldcode, but in reality it's acode_hash, so we try to deploy global code hash likeEXXAovPjpJNsScZuX6qd9Ypag9P7N1ispyU2ypauQVGYit becomes67RrrvBk6k7oFv9Gi6Qex8H657tWUDqz9v79nnYgtX7Tain nearblocks after another round of hashing, which is confusing for users. Can we remove double hashing forDeployGlobalContractvariant?More details can be found here:
https://near.zulipchat.com/#narrow/channel/295558-core/topic/nearblocks.20Deploy.20Global.20Contract.20code_hash.20mismatch/with/564840887
Beta Was this translation helpful? Give feedback.
All reactions