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

Bump nitro validator after audit (and regenerate bindings) #58

Merged
merged 4 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
196 changes: 170 additions & 26 deletions bindings/cert_manager.go

Large diffs are not rendered by default.

237 changes: 221 additions & 16 deletions bindings/deploy_chain.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bindings/output_oracle.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bindings/portal.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bindings/system_config_global.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/script/DeploySystem.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ contract DeploySystem is Deploy {

uint256 timestamp = vm.getBlockTimestamp();
vm.warp(1732580000);
ICertManager(certManagerAddress).verifyCert(cert, true, keccak256(parent));
ICertManager(certManagerAddress).verifyCACert(cert, keccak256(parent));
vm.warp(timestamp);
}

Expand Down
7 changes: 6 additions & 1 deletion register-signer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,12 @@ func main() {
panic(err)
}
if len(verified) == 0 {
tx, err := certManager.VerifyCert(auth, cert, ca, parentCertHash)
var tx *types.Transaction
if ca {
tx, err = certManager.VerifyCACert(auth, cert, parentCertHash)
} else {
tx, err = certManager.VerifyClientCert(auth, cert, parentCertHash)
}
if err != nil {
panic(err)
}
Expand Down
Loading