Closed skosito closed 4 months ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Base branches to auto review (1)
* mainPlease check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The updates introduce significant enhancements and renaming for better EVM-specific functionality. Key changes include rebranding Gateway
to GatewayEVM
, adding new error types and functions for ERC20 and ETH transfers, and modifying initialization processes. Contracts, tests, and TypeScript interfaces have been updated to align with these changes, ensuring a cohesive transition to the new functionality.
Files | Change Summary |
---|---|
contracts/prototypes/evm/ERC20CustodyNew.sol |
Changed gateway variable type from IGateway to IGatewayEVM . |
contracts/prototypes/evm/GatewayEVM.sol , contracts/prototypes/evm/GatewayEVMUpgradeTest.sol |
Renamed and enriched with new error types, events, functions for token and ETH transfers, and modified initialization. |
test/prototypes/GatewayIntegration.spec.ts , test/prototypes/GatewayUpgrade.spec.ts |
Updated test suite names, added tssAddress , included new test cases for GatewayEVM , reviewed storage checks. |
typechain-types/.../*.ts |
Introduced GatewayEVMInterface , reorganized exports under evm , created new factory class GatewayEVMUpgradeTest__factory . |
typechain-types/hardhat.d.ts |
Renamed contract factories and instances to reflect EVM-specific names. |
In the EVM world so grand,
We've made our contracts take a stand,
WithGatewayEVM
at the helm,
Tokens and ETH in a realm.
New functions glide, events do shine,
'Tis a coder's dream, divine!
Let's build and test, for now's the time.
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?
@coderabbitai review
@coderabbitai review
Actions performed Review triggered.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
they are all in generated files, none in solidity, so i resolved them, does it work on solidity files?
EDIT: actually there were comments in sol files, fixed and resolved
@lumtis @fadeev i updated PR description and whole PR with new interface, please recheck when you get a chance, thanks
Attention: Patch coverage is 56.81818%
with 19 lines
in your changes missing coverage. Please review.
Project coverage is 52.20%. Comparing base (
cb0ca6c
) to head (bc189a9
).
Files | Patch % | Lines |
---|---|---|
contracts/prototypes/evm/GatewayEVMUpgradeTest.sol | 0.00% | 16 Missing :warning: |
contracts/prototypes/evm/GatewayEVM.sol | 88.88% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
implements following spec and also moving current prototype sol files to
evm
folder, and renamingGateway
->GatewayEVM
so it is separated fromzevm
Summary by CodeRabbit
New Features
Enhancements
Gateway
contract toGatewayEVM
and updated relevant test suites.tssAddress
variable for enhanced security.Bug Fixes
SendFailed
andInsufficientETHAmount
.Refactor
evm
module.EVM
suffix.Tests
GatewayEVM
functions.tssAddress
.