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

feat(taiko-client): client changes based on #18150 #18350

Merged
merged 4 commits into from
Nov 3, 2024
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
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
Loading