Skip to content

eth: add streaming for large data transactions and typed data#168

Merged
Tomasvrba merged 1 commit into
BitBoxSwiss:masterfrom
Tomasvrba:eth-stream
Apr 20, 2026
Merged

eth: add streaming for large data transactions and typed data#168
Tomasvrba merged 1 commit into
BitBoxSwiss:masterfrom
Tomasvrba:eth-stream

Conversation

@Tomasvrba
Copy link
Copy Markdown
Collaborator

No description provided.

@Tomasvrba
Copy link
Copy Markdown
Collaborator Author

second commit adds actual signature verification

@Tomasvrba Tomasvrba requested a review from benma April 20, 2026 14:31
Copy link
Copy Markdown
Contributor

@benma benma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! even ETHSIgnMessage got a drive-by bugfix by making it atomic ❤️

Comment thread api/firmware/eth_test.go Outdated
@Tomasvrba Tomasvrba force-pushed the eth-stream branch 2 times, most recently from c51be05 to 024bafa Compare April 20, 2026 15:21
@Tomasvrba Tomasvrba requested a review from benma April 20, 2026 15:21
Copy link
Copy Markdown
Contributor

@benma benma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but pls see small nit that you could fix before merging.

Comment thread api/firmware/eth_test.go Outdated
require.EqualError(t, err, "string value exceeds maximum size")
}

func TestETHSignTypedMessageRejectsStreamingBytesOnOldFirmware(t *testing.T) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, please remove. I missed this one before. The simulator test can be adjusted to do the

	require.EqualError(t, err, UnsupportedError("9.26.0").Error())

check on older simulator versions.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, fixed

@Tomasvrba Tomasvrba merged commit d546462 into BitBoxSwiss:master Apr 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants