-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
ABI hash based ids for Logs. #5980
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmark for 552a2c5Click to view benchmark
|
esdrubal
added
the
ABI
Everything to do the ABI, especially the JSON representation
label
May 14, 2024
Benchmark for 7ee485eClick to view benchmark
|
esdrubal
force-pushed
the
esdrubal/abi_hash_ids
branch
from
May 15, 2024 08:41
c548e30
to
1b0d762
Compare
Benchmark for 581883dClick to view benchmark
|
``` __log(1u32); // hashed: "u32" __log((1u32, 1u64)); // hashed: "(u32, u64)" __log([0u64]); // hashed: "[u64; 1]" __log(Some(0u64)); // hashed: "enum std::option::Option<u64>" __log(SS{ ss: 1u64 }); // hashed: "struct SS<u64>" ```
esdrubal
force-pushed
the
esdrubal/abi_hash_ids
branch
from
May 15, 2024 09:14
1b0d762
to
38520d9
Compare
Benchmark for a78e061Click to view benchmark
|
esdrubal
force-pushed
the
esdrubal/abi_hash_ids
branch
from
May 15, 2024 09:45
38520d9
to
bb5c9fb
Compare
Benchmark for 52d5f3aClick to view benchmark
|
Benchmark for f76cb85Click to view benchmark
|
esdrubal
force-pushed
the
esdrubal/abi_hash_ids
branch
from
May 15, 2024 11:57
89a8682
to
017c823
Compare
Benchmark for b14774fClick to view benchmark
|
esdrubal
force-pushed
the
esdrubal/abi_hash_ids
branch
from
May 15, 2024 12:34
017c823
to
06edbca
Compare
Benchmark for 13f6d80Click to view benchmark
|
Voxelot
reviewed
May 16, 2024
test/src/e2e_vm_tests/test_programs/should_pass/language/logging/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
esdrubal
force-pushed
the
esdrubal/abi_hash_ids
branch
from
May 16, 2024 07:00
2f3f62d
to
fc9837a
Compare
kayagokalp
reviewed
May 17, 2024
Benchmark for 2d00ac2Click to view benchmark
|
Voxelot
reviewed
May 17, 2024
test/src/e2e_vm_tests/test_programs/should_pass/language/logging/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
Voxelot
reviewed
May 17, 2024
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/assert_eq_revert/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
Voxelot
reviewed
May 17, 2024
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/assert_ne/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
Voxelot
reviewed
May 17, 2024
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/assert_ne_revert/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
Voxelot
reviewed
May 17, 2024
...src/e2e_vm_tests/test_programs/should_pass/test_contracts/basic_storage/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
Voxelot
reviewed
May 17, 2024
...src/e2e_vm_tests/test_programs/should_pass/test_contracts/multiple_impl/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
Voxelot
reviewed
May 17, 2024
...e2e_vm_tests/test_programs/should_pass/test_contracts/storage_namespace/json_abi_oracle.json
Outdated
Show resolved
Hide resolved
Benchmark for 8ce797aClick to view benchmark
|
IGI-111
approved these changes
May 17, 2024
Benchmark for 64e2b77Click to view benchmark
|
nedsalk
approved these changes
May 17, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried out the branch locally with the TS-SDK and it worked. Approving as-is after chat with @IGI-111.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Changes LogId to contain hash based on abi str.
Adds abi_hash_ids flag to command line tools.
Closes #5953
Checklist
Breaking*
orNew Feature
labels where relevant.