-
Notifications
You must be signed in to change notification settings - Fork 345
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
[DO NOT MERGE]: Release v25 protocol defense #774
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Raid Ateir <ra@matterlabs.dev>
Co-authored-by: Uacias <filgum0326@gmail.com> Co-authored-by: Mateusz Zając <matzayonc@gmail.com> Co-authored-by: Mateusz Zając <60236390+matzayonc@users.noreply.github.com>
chore(contracts): merge release 23 into dev
Merge main to dev
Co-authored-by: Stanislav Breadless <stanislavbezkor@gmail.com>
Signed-off-by: Danil <deniallugo@gmail.com> Co-authored-by: Lyova Potyomkin <lyova.potyomkin@gmail.com> Co-authored-by: kelemeno <kl@matterlabs.dev> Co-authored-by: Stanislav Bezkorovainyi <stanislavbezkor@gmail.com> Co-authored-by: Raid Ateir <ra@matterlabs.dev> Co-authored-by: kelemeno <34402761+kelemeno@users.noreply.github.com> Co-authored-by: Jmunoz <juanmunoz890@gmail.com> Co-authored-by: Bence Haromi <bence.haromi@gmail.com> Co-authored-by: Danil <deniallugo@gmail.com>
Co-authored-by: tommysr <47206288+tommysr@users.noreply.github.com>
Failing CI check is for coverage and for external contributors, they are not permissioned enough to run this check. The reason being Github doesn't allow granting anything except read for tokens, when PR is from fork https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
Merge Main into Dev
Merge main into dev
Co-authored-by: Raid Ateir <ra@matterlabs.dev>
Signed-off-by: Danil <deniallugo@gmail.com> Co-authored-by: Bence Haromi <56651250+benceharomi@users.noreply.github.com> Co-authored-by: Grzegorz Prusak <pompon.pompon@gmail.com> Co-authored-by: Moshe Shababo <17073733+moshababo@users.noreply.github.com> Co-authored-by: Akosh Farkash <aakoshh@gmail.com> Co-authored-by: Bruno França <bruno@franca.xyz> Co-authored-by: Vlad Bochok <41153528+vladbochok@users.noreply.github.com> Co-authored-by: Roman Brodetski <Roman.Brodetski@gmail.com> Co-authored-by: vladbochok <vladbochok1@gmail.com> Co-authored-by: Stanislav Bezkorovainyi <stanislavbezkor@gmail.com> Co-authored-by: Danil <deniallugo@gmail.com>
Signed-off-by: Danil <deniallugo@gmail.com> Co-authored-by: otani <maksym.kryva@gmail.com> Co-authored-by: Zach Kolodny <zach.kolodny@gmail.com>
using stdToml for string; | ||
|
||
struct Config { | ||
address admin; | ||
address governor; | ||
} | ||
|
||
Config internal config; | ||
|
||
function initConfig() public { | ||
string memory root = vm.projectRoot(); | ||
string memory path = string.concat(root, "/script-config/config-accept-admin.toml"); | ||
string memory toml = vm.readFile(path); | ||
config.admin = toml.readAddress("$.target_addr"); | ||
config.governor = toml.readAddress("$.governor"); | ||
} | ||
|
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.
Seems it's a merge artifact
@@ -145,7 +158,8 @@ fn insert_residue_elements_and_commitments( | |||
Ok(reg.render_template( | |||
&verifier_contract_template, | |||
&json!({"residue_g2_elements": residue_g2_elements, | |||
"commitments": commitments}), | |||
"commitments": commitments, | |||
"vk_hash": vk_hash}), |
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.
@koloz193 - but this vk_hash is not present in the verifier_contract_template.txt ?
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.
It’s one of the comments at the top
@koloz193 it's worth calling out explicitly the bootloader change to remove the 10k gwei limitation for the |
Signed-off-by: Danil <deniallugo@gmail.com>
Co-authored-by: Vlad Bochok <41153528+vladbochok@users.noreply.github.com>
feat: add timestamp asserter contract
v25 release changes
Bootloader
increase max_pubdata price and max_l2_price from 1M to 2^64
removed upgradesystemcontext method
Contracts
Scripts
Testing
Docs & comments
Dependencies