-
Notifications
You must be signed in to change notification settings - Fork 26
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
optimize contract #40
Conversation
Requires explicit |
Looks great for contract storage costs, Do we know exactly how much gas this will reduce the calls by? Would be nice to take some call from |
NEAR smart contracts cannot be built on Rust versions newer than 1.69 (you get a deserialization error from the node). |
This was fixed actually. It just doesn't work for sandboxes-rs. I've been building and deploying with this environment for as long as I've been working on the project. (I think the issue is only instantiation) |
@dndll Ah, workspaces just fixed it, but released under a different name for some reason ( |
I did some simple tests locally.
|
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, but would be good if @dndll takes another look.
This is great, but we are still missing the modifications to the rust client, right now this update would break such. |
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.
Please could you update the da-rpc
client to support this change to the submit API? (it should be incredibly simple)
@encody could we get this PR in soon? Is there anything that we can do to help? We are looking to audit the contract as soon as possible after this change is in. |
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.
new changes look good!
This test that is failing is because it used to be serialised with json and now not. Let's just put an |
#28