Skip to content

Commit

Permalink
feat(taiko-client): update contract binding & add Proposer (#18053)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Sep 9, 2024
1 parent 2547ba9 commit d0554a2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 43 deletions.
2 changes: 1 addition & 1 deletion packages/taiko-client/bindings/.githead
Original file line number Diff line number Diff line change
@@ -1 +1 @@
703b062f4b2af3438cc3de940104e9b6cfcbebc1
fe2e9b9930db848941a28e8dcfd873ad6361204b
4 changes: 4 additions & 0 deletions packages/taiko-client/bindings/encoding/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ var (
},
}
blockParamsV2Components = []abi.ArgumentMarshaling{
{
Name: "proposer",
Type: "address",
},
{
Name: "coinbase",
Type: "address",
Expand Down
1 change: 1 addition & 0 deletions packages/taiko-client/bindings/encoding/struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type BlockParams struct {

// BlockParamsV2 should be same with TaikoData.BlockParamsV2.
type BlockParamsV2 struct {
Proposer common.Address
Coinbase common.Address
ParentMetaHash [32]byte
AnchorBlockId uint64
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/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 d0554a2

Please sign in to comment.