-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: made ProposedUpdates use IterableMap underneath due contracts taking too much space #737
Conversation
@ppca this is a breaking change for RC1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
let execution = accounts[0] | ||
.call(contract.id(), "propose_update") | ||
.args_borsh((ProposeUpdateArgs { | ||
code: Some(vec![0; 3900 * 1024]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it the size of our contract? Or max size of contract on NEAR?
vote_update_till_completion(&contract, &accounts, proposals.last().unwrap()).await; | ||
|
||
// Let's check that we can call into the state and see all the proposals. | ||
let state: mpc_contract::ProtocolContractState = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check the state?
Terraform Feature Environment Destroy (dev-737)Terraform Initialization ⚙️
|
IterableMap
internally due to the above.