Closed mikedotexe closed 2 years ago
This happens because after the factory init, you need to store the contract code + the contract code hash, step which is missing from the readme. I admit it's not very handy for the end user, so I've created https://github.com/near-daos/sputnik-dao-contract/pull/93 to store both the contract code and the hash on factory init. This way, we make sure that the user focuses on the important stuff and does not need to worry about any of this.
There is a comment about this in Telegram that I could not reproduce, but when I tried following the directions on my Macbook I ran into this error. See Step 6 of the README at the project root
I think it's this line: https://github.com/near-daos/sputnik-dao-contract/blame/90184759ff1fd18212a4cfa638a7a950ba4177e9/sputnikdao-factory2/src/lib.rs#L59