-
Notifications
You must be signed in to change notification settings - Fork 193
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(evm): Create ethers v6 adapters for Nibiru and publish TS library #2197
Conversation
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe pull request adds a new changelog entry for ethers v6 adapters for Nibiru and updates several build and configuration files. In the evm-core-ts project, new files such as a .gitignore, README, Justfile, package.json, and Prettier config have been introduced. Numerous TypeScript interfaces, typechain definitions, and autogenerated factory classes for Ethereum contracts are added or updated. Precompile contract files with HexAddr types, documentation enhancements, Solidity formatting improvements, ABI artifact updates, and a new file-skipping mechanism in the Go-based ABI generator are also included. Changes
Sequence Diagram(s)sequenceDiagram
participant FS as File System
participant GA as Gen-ABI Script
participant SK as SkipList Checker
FS->>GA: Traverse file (filename)
GA->>SK: Check if filename exists in skipList
alt File in skip list
SK-->>GA: Yes, skip file
GA->>FS: Continue to next file
else File not in skip list
SK-->>GA: No, process file
GA->>GA: Generate ABI from file
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (45)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
ead0ab8
to
bcacd0b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2197 +/- ##
=======================================
Coverage 64.78% 64.78%
=======================================
Files 277 277
Lines 22281 22281
=======================================
Hits 14435 14435
Misses 6861 6861
Partials 985 985 |
Purpose / Abstract
This pull request implements the
@nibiruchain/evm-core package
Usage API
How I Tested This
I tested the usage of this package against a local network by creating a tarball and importing that locally to the package.json.
From
Nibiru/evm-core-ts
, I runThis creates a "nibiruchain-evm-core*.tgz" file. Then in a separate JS project, I import the tgz file as a local dependency named
@nibiruchain/evm-core
. This lets me get as close as possible to what an external will get when importing the package fromnpm
, as installing a tarball dependency uses the compiled version of the package (only*.js
and*.d.ts
files)