Skip to content
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

Updates toolchain to a more recent 2023-03-25 #4008

Conversation

mpapierski
Copy link
Collaborator

This bumps a toolchain for contract API to more recent 2023-03-25. This is not the most recent, as the current nightly appears to produce non-mvp WebAssembly opcodes which are not supported on our platform. Apparently this version update also decerases gas cost on average in our tests.

See also upstream compiler issue here: rust-lang/rust#109807

Copy link
Contributor

@rafal-ch rafal-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Comment on lines +844 to +847
const EXPECTED_FAUCET_INSTALL_COST: u64 = 75_226_865_930;
const EXPECTED_FAUCET_SET_VARIABLES_COST: u64 = 579_464_060;
const EXPECTED_FAUCET_CALL_BY_INSTALLER_COST: u64 = 3_040_141_320;
const EXPECTED_FAUCET_CALL_BY_USER_COST: u64 = 3_242_199_690;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per the comment above these consts, could you update the table in the indicated README too please?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@mpapierski mpapierski requested a review from Fraser999 June 1, 2023 15:42
@mpapierski
Copy link
Collaborator Author

bors r+

@casperlabs-bors-ng
Copy link
Contributor

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants