Skip to content

Commit

Permalink
feat(taiko-client): client changes based on #18150 (#18350)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Nov 3, 2024
1 parent 2297fcd commit ddc6473
Show file tree
Hide file tree
Showing 27 changed files with 957 additions and 1,109 deletions.
2 changes: 1 addition & 1 deletion packages/taiko-client/bindings/.githead
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13cc0074a2295c5939cf83e23f531cb25c43bd64
6b03929ae41f15c3a36b514cec3f8e91e64e8fab
2 changes: 1 addition & 1 deletion packages/taiko-client/bindings/encoding/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func UnpackTxListBytes(txData []byte) ([]byte, error) {
}

// Only check for safety.
if method.Name != "proposeBlock" {
if method.Name != "proposeBlock" && method.Name != "proposeBlockV2" {
return nil, fmt.Errorf("invalid method name: %s", method.Name)
}

Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/bindings/encoding/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestUnpackTxListBytes(t *testing.T) {

txListBytes := randomBytes(1024)

tx, err := taikoL1.ProposeBlock(
tx, err := taikoL1.ProposeBlockV2(
opts,
randomBytes(1024),
txListBytes,
Expand Down
79 changes: 0 additions & 79 deletions packages/taiko-client/bindings/encoding/protocol_config.go

This file was deleted.

23 changes: 1 addition & 22 deletions packages/taiko-client/bindings/gen_guardian_prover.go

Large diffs are not rendered by default.

190 changes: 90 additions & 100 deletions packages/taiko-client/bindings/gen_lib_proposing.go

Large diffs are not rendered by default.

323 changes: 87 additions & 236 deletions packages/taiko-client/bindings/gen_lib_proving.go

Large diffs are not rendered by default.

158 changes: 1 addition & 157 deletions packages/taiko-client/bindings/gen_lib_utils.go

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

Loading

0 comments on commit ddc6473

Please sign in to comment.