Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.

Commit ac9788f

Browse files
authored
feat(bindings): update Go contract bindings (#574)
1 parent 27f79c0 commit ac9788f

10 files changed

+1717
-94
lines changed

bindings/.githead

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d54172c5f677ad60c48ef0ababc54a968e6a58c9
1+
8ec31635ba24484a3c3a0bb64b5e1e7027862eb8

bindings/gen_address_manager.go

+311-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/gen_assignment_hook.go

+218-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/gen_guardian_prover.go

+218-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/gen_taiko_l1.go

+218-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/gen_taiko_l2.go

+218-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/gen_taiko_timelock_controller.go

+311-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/gen_taiko_token.go

+218-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration_test/l1_env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export SECURITY_COUNCIL=0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f
99
export TAIKO_TOKEN_PREMINT_RECIPIENT=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
1010
export TAIKO_TOKEN_NAME="Taiko Token Test"
1111
export TAIKO_TOKEN_SYMBOL="TTKOt"
12-
export OPTIMISTIC_TIER_PROVIDER="true"
12+
export TIER_PROVIDER="devnet"
1313

1414
export SHARED_ADDRESS_MANAGER=0x0000000000000000000000000000000000000000
1515
export PROPOSER=0x0000000000000000000000000000000000000000

prover/prover.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,9 @@ func (p *Prover) handleNewBlockProposedEvent(ctx context.Context, e *bindings.Ta
763763
"Proposed block's proving window has expired",
764764
"blockID", e.BlockId,
765765
"prover", e.AssignedProver,
766+
"now", now,
766767
"expiresAt", provingWindowExpiresAt,
768+
"minTier", e.Meta.MinTier,
767769
)
768770
if e.AssignedProver == p.proverAddress {
769771
log.Warn(
@@ -1271,7 +1273,7 @@ func (p *Prover) onProvingWindowExpired(ctx context.Context, e *bindings.TaikoL1
12711273
func (p *Prover) getProvingWindow(e *bindings.TaikoL1ClientBlockProposed) (time.Duration, error) {
12721274
for _, t := range p.tiers {
12731275
if e.Meta.MinTier == t.ID {
1274-
return time.Duration(t.ProvingWindow) * time.Second, nil
1276+
return time.Duration(t.ProvingWindow) * time.Minute, nil
12751277
}
12761278
}
12771279

0 commit comments

Comments
 (0)