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

refactor: Clean up the majority of the stack trace port implementation #614

Merged
merged 44 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
362f332
Stop re-exporting SourceMapLocation and other minor types
Xanewok Aug 18, 2024
2785970
Stop re-exporting Instruction and Opcode
Xanewok Aug 19, 2024
8b81108
Stop re-exporting JumpType
Xanewok Aug 19, 2024
1e185d1
Stop re-exporting ContractFunctionVisibility
Xanewok Aug 19, 2024
0504796
Stop re-exporting ContractType
Xanewok Aug 19, 2024
4d17dab
refactor: Rename ContractType to ContractKind
Xanewok Aug 19, 2024
b93c7e9
Stop re-exporting ImmutableReference
Xanewok Aug 19, 2024
35f1db5
Stop re-exporting CustomError
Xanewok Aug 19, 2024
6a9e7e3
Stop re-exporting SourceFile
Xanewok Aug 19, 2024
1b954d3
Stop re-exporting SourceLocation
Xanewok Aug 19, 2024
aebfcaf
fixup! Stop re-exporting CustomError
Xanewok Aug 19, 2024
c8c2c1f
refactor: Keep Vec<u8> as ContractFunction.selector
Xanewok Aug 19, 2024
157f89c
Simplify and don't re-export select functions
Xanewok Aug 19, 2024
668591c
Simplify ContractsIdentifier wrt buffer cloning
Xanewok Aug 19, 2024
2cb761b
refactor: Remove redundant napi::Result in SourceFile::new
Xanewok Aug 19, 2024
6cd1d25
refactor: Limit interior mutability in ContractFunction to the selector
Xanewok Aug 19, 2024
94dbf04
refactor: Break Rc cycle between Contract <> ContractFunction
Xanewok Aug 19, 2024
3f78ebf
refactor: Remove more napi types
Xanewok Aug 19, 2024
be606ac
refactor: Always bundle ContractsIdentifier with VmTraceDecoder
Xanewok Aug 19, 2024
be842e4
Stop re-exporting Contract
Xanewok Aug 19, 2024
a97a6a7
Stop threading Env through SolidityTracer
Xanewok Aug 19, 2024
591de21
Stop re-exporting Bytecode and prune ClassInstance helpers
Xanewok Aug 20, 2024
08c9852
refactor: Don't unnecessarily clone Rcs
Xanewok Aug 20, 2024
ce449b5
refactor: Clean up ContractsIdentifier some more
Xanewok Aug 20, 2024
c13248f
Move the rest of the library_utils
Xanewok Aug 20, 2024
8236c9d
Remove some useless Results and impl PartialEq for SourceLocation
Xanewok Aug 20, 2024
8601d00
refactor: For now settle on panicking borrows for clarity
Xanewok Aug 21, 2024
a45c68a
Fix an annoying Clippy false positive lint
Xanewok Aug 21, 2024
223e2df
refactor: Remove (now) unnecessary custom opcode logic
Xanewok Aug 21, 2024
0b63888
refactor: Make sure to catch_unwind in our main napi entry points
Xanewok Aug 21, 2024
4072a0d
Remove unnecessary napi types from model.rs
Xanewok Aug 21, 2024
cf8a2da
Prune napi Results from the compiler.rs
Xanewok Aug 21, 2024
e5c614f
refactor: Move build model, AST conv. and source map to edr_solidity
Xanewok Aug 21, 2024
f09c5eb
refactor: Replace ContractsIdentifier with ported impl
Xanewok Aug 21, 2024
257cf56
fixup: Formatting
Xanewok Aug 26, 2024
35d0f8f
fix: Separate N-API bindings from the edr_solidity
Xanewok Aug 26, 2024
cc2cde5
Remove now unused anyhow from edr_napi
Xanewok Aug 27, 2024
3b551a0
refactor: Break the ref cycle by separating sources in the build model
Xanewok Aug 28, 2024
9ca5997
WIP: Benchmark with patched Hardhat to use new EDR internals
Xanewok Aug 26, 2024
3f18e6a
Add documentation for select types in edr_solidity
Xanewok Aug 29, 2024
b23e2d5
fixup: formatting
Xanewok Aug 29, 2024
6651c30
Track future deserialization improvements in an issue
Xanewok Aug 30, 2024
e81986b
fixup: formatting
Xanewok Aug 30, 2024
5311522
Revert "WIP: Benchmark with patched Hardhat to use new EDR internals"
Xanewok Sep 2, 2024
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
3 changes: 3 additions & 0 deletions Cargo.lock

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

Loading
Loading