Closed ctindogarus4f closed 2 years ago
The guys from SQA will take care of this issue.
The command
near call sputnik-factory.gentbinaku.testnet store $(eval "$BYTES") --base64 --accountId sputnik-factory.gentbinaku.testnet --gas 100000000000000 --amount 10
Fails and talking to @ctindogarus4f it has been suggested it can be only run on mac-os, unfortunately most of our teams runs on Ubuntu Linux
teams runs on Ubuntu Linux
@GentBinakuSQA I had the same issue, created a PR https://github.com/near/near-cli/pull/938 - hopefully it gets merged or you can use
@ctindogarus4f using the scripts i created in PR #111 - I was able to test the recently merged #115 and confirm that backward compat is now working. Doing the final test of checking proposals does not have Borsh deserialize issues. I believe we can close this, however there are yet a couple more backward compat issues to take care of that are different.
Problem: There was a backward compatibility error introduced at some point in the sputnik contracts and we need to find out the exact commit which introduced it.
How to find it? Basically by picking random commits from https://github.com/near-daos/sputnik-dao-contract/commits/main and see where the error was introduced.
How to do it? You need to follow the instructions below.
Instructions:
ctindogaru.testnet
with your own testnet account.xsda21da
)cargo clean
and wait for completion.cargo update
and wait for completion../build
and wait for completion.near view ctindogaru-dao.sputnik-factory.ctindogaru.testnet get_proposal '{"id": 0}’
. Please make sure to replacectindogaru.testnet
with your own testnet account.Cannot deserialize value with Borsh
error, it means that commit id contains a backward compatible issue. Please create a new DAO by following these instructions, but make sure to replacectindogaru-dao
with another name andctindogaru.testnet
with your own testnet account.:Repeat instructions 2-8 until the errror does not show up anymore and you find the exact commit which introduced this backward compatible issue.
near login
and repeat instructions 1-9.