-
Notifications
You must be signed in to change notification settings - Fork 108
refactor: Change way of providing code and inputs to executor #1229
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
Changes from 25 commits
8c59e66
0a576c0
f0888df
4052596
017d8fd
7df20d7
1edbfe7
0ac3111
d88556f
327fc3f
4040442
fc60697
a34b940
2f7e499
20c9d25
32a5296
5965b5c
0a680cf
75e1fdc
96c28ef
eee32d8
853ca80
26ae3a5
124d03f
e7a88e2
beb71f1
b4b2e1c
cd15d1f
9e3b4e9
635cf7f
7b959d1
bf97884
f352972
5757967
6503c8b
65ea187
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -257,7 +257,7 @@ pub enum BatchAccountUpdateError { | |||||
| )] | ||||||
| AccountUpdateInitialStateMismatch(TransactionId), | ||||||
| #[error("failed to merge account delta from transaction {0}")] | ||||||
| TransactionUpdateMergeError(TransactionId, #[source] AccountDeltaError), | ||||||
| TransactionUpdateMergeError(TransactionId, #[source] Box<AccountDeltaError>), | ||||||
| } | ||||||
|
|
||||||
| // ASSET ERROR | ||||||
|
|
@@ -450,6 +450,8 @@ pub enum TransactionInputError { | |||||
| InputNoteNotInBlock(NoteId, BlockNumber), | ||||||
| #[error("account ID computed from seed is invalid")] | ||||||
| InvalidAccountIdSeed(#[source] AccountIdError), | ||||||
| #[error("merkle path for {0} is invalid")] | ||||||
| InvalidMerklePath(String, #[source] MerkleError), | ||||||
|
||||||
| InvalidMerklePath(String, #[source] MerkleError), | |
| InvalidMerklePath(Box<str>, #[source] MerkleError), |
Nit: We could box the string to save 8 bytes. This is the largest variant in the enum now and dictates its stack size. Just requires adding an .into() after the format! where it is used.
Uh oh!
There was an error while loading. Please reload this page.