-
Notifications
You must be signed in to change notification settings - Fork 5
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
Write to storage variable results in other field getting zero'd out #12
Comments
Can you un-hardcode your account information from truffle-config and provide some more reproduction steps? What commands are you using to start a local node and deploy the EVM |
Feel like it makes most sense if you do this, as I don't know what is the end result you want (like e.g. if I were you I'd just hardcode different info).
Do you mean it doesn't reproduce with latest Unfortunately I don't think I have commands I used to start node. I think I just used default local setup + increased some gas limit in config (as NEAR was previously returning error about gas limit). |
steps I'm taking to try to reproduce: audius-protocol branch: modify audius truffle-config.js
In order to run tests again, stop the node and repeat all steps
|
Update: checking out near-web3-provider branch
|
Okay. I've pushed the With AND without storage call
Update: this was due to not porting the log translation from the bug-demo branch, and have extra json files in my keystore |
as a sidenote I strongly disapprove of putting so much logic in the before each hook |
Okay. I can reproduce:
@vgrichina can you check out the new branch and let me know if I'm missing anything, while I look into this more? |
For future reference, here is the bytecode that produces the error message:
And here is my hand-annotated decompiled code:
|
Alright. I can confirm that the refactor will fix this
|
Can this issue be closed? |
Yes it can be :) |
PRs with relevant hacks:
#11
vgrichina/audius-protocol#1
To reproduce:
notice zeros after userStorageRegistryKey:
with commented out write to storage:
vgrichina/audius-protocol@33b0f9c
The text was updated successfully, but these errors were encountered: