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

Commit

Permalink
feat(proposer): improve proposing strategy (#682)
Browse files Browse the repository at this point in the history
Co-authored-by: Gavin Yu <[email protected]>
Co-authored-by: David <[email protected]>
  • Loading branch information
3 people authored Apr 5, 2024
1 parent a70519b commit 62cc7ff
Show file tree
Hide file tree
Showing 30 changed files with 399 additions and 687 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
with:
repository: taikoxyz/taiko-mono
path: ${{ env.TAIKO_MONO_DIR }}
ref: revert_change

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion bindings/.githead
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e61efa6e88cdb5c8ac32d98743f23d8df0a2b662
b853c08eb82cf93bba81b51169c1add8b42f4b09
10 changes: 4 additions & 6 deletions bindings/encoding/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ var (
},
},
},
{
Name: "signature",
Type: "bytes",
},
}
proverAssignmentComponents = []abi.ArgumentMarshaling{
{
Expand Down Expand Up @@ -242,7 +246,6 @@ var (
TaikoL2ABI *abi.ABI
TaikoTokenABI *abi.ABI
GuardianProverABI *abi.ABI
LibDepositingABI *abi.ABI
LibProposingABI *abi.ABI
LibProvingABI *abi.ABI
LibUtilsABI *abi.ABI
Expand Down Expand Up @@ -273,10 +276,6 @@ func init() {
log.Crit("Get GuardianProver ABI error", "error", err)
}

if LibDepositingABI, err = bindings.LibDepositingMetaData.GetAbi(); err != nil {
log.Crit("Get LibDepositing ABI error", "error", err)
}

if LibProposingABI, err = bindings.LibProposingMetaData.GetAbi(); err != nil {
log.Crit("Get LibProposing ABI error", "error", err)
}
Expand Down Expand Up @@ -309,7 +308,6 @@ func init() {
TaikoL1ABI.Errors,
TaikoL2ABI.Errors,
GuardianProverABI.Errors,
LibDepositingABI.Errors,
LibProposingABI.Errors,
LibProvingABI.Errors,
LibUtilsABI.Errors,
Expand Down
1 change: 1 addition & 0 deletions bindings/encoding/struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type BlockParams struct {
ExtraData [32]byte
ParentMetaHash [32]byte
HookCalls []HookCall
Signature []byte
}

// TierFee should be same with TaikoData.TierFee.
Expand Down
315 changes: 0 additions & 315 deletions bindings/gen_lib_depositing.go

This file was deleted.

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 62cc7ff

Please sign in to comment.