Closed skosito closed 2 months ago
[!IMPORTANT]
Review skipped
Review was skipped due to path filters
Files ignored due to path filters (90)
* `v2/pkg/address.sol/address.go` is excluded by `!v2/pkg/**` * `v2/pkg/beaconproxy.sol/beaconproxy.go` is excluded by `!v2/pkg/**` * `v2/pkg/console.sol/console.go` is excluded by `!v2/pkg/**` * `v2/pkg/core.sol/core.go` is excluded by `!v2/pkg/**` * `v2/pkg/defender.sol/defender.go` is excluded by `!v2/pkg/**` * `v2/pkg/defenderdeploy.sol/defenderdeploy.go` is excluded by `!v2/pkg/**` * `v2/pkg/erc1967proxy.sol/erc1967proxy.go` is excluded by `!v2/pkg/**` * `v2/pkg/erc1967utils.sol/erc1967utils.go` is excluded by `!v2/pkg/**` * `v2/pkg/erc20custody.sol/erc20custody.go` is excluded by `!v2/pkg/**` * `v2/pkg/erc20custody.t.sol/erc20custodytest.go` is excluded by `!v2/pkg/**` * `v2/pkg/erc20custodyechidnatest.sol/erc20custodyechidnatest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayevm.sol/gatewayevm.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayevm.t.sol/gatewayevminboundtest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayevm.t.sol/gatewayevmtest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayevmechidnatest.sol/gatewayevmechidnatest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayevmupgrade.t.sol/gatewayevmuupsupgradetest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayevmupgradetest.sol/gatewayevmupgradetest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayevmzevm.t.sol/gatewayevmzevmtest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayzevm.sol/gatewayzevm.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayzevm.t.sol/gatewayzevminboundtest.go` is excluded by `!v2/pkg/**` * `v2/pkg/gatewayzevm.t.sol/gatewayzevmoutboundtest.go` is excluded by `!v2/pkg/**` * `v2/pkg/math.sol/math.go` is excluded by `!v2/pkg/**` * `v2/pkg/mockerc20.sol/mockerc20.go` is excluded by `!v2/pkg/**` * `v2/pkg/mockerc721.sol/mockerc721.go` is excluded by `!v2/pkg/**` * `v2/pkg/proxyadmin.sol/proxyadmin.go` is excluded by `!v2/pkg/**` * `v2/pkg/receiverevm.sol/receiverevm.go` is excluded by `!v2/pkg/**` * `v2/pkg/safeconsole.sol/safeconsole.go` is excluded by `!v2/pkg/**` * `v2/pkg/safeerc20.sol/safeerc20.go` is excluded by `!v2/pkg/**` * `v2/pkg/senderzevm.sol/senderzevm.go` is excluded by `!v2/pkg/**` * `v2/pkg/signedmath.sol/signedmath.go` is excluded by `!v2/pkg/**` * `v2/pkg/src/strings.sol/strings.go` is excluded by `!v2/pkg/**` * `v2/pkg/stderror.sol/stderror.go` is excluded by `!v2/pkg/**` * `v2/pkg/stdjson.sol/stdjson.go` is excluded by `!v2/pkg/**` * `v2/pkg/stdmath.sol/stdmath.go` is excluded by `!v2/pkg/**` * `v2/pkg/stdstorage.sol/stdstorage.go` is excluded by `!v2/pkg/**` * `v2/pkg/stdstorage.sol/stdstoragesafe.go` is excluded by `!v2/pkg/**` * `v2/pkg/stdstyle.sol/stdstyle.go` is excluded by `!v2/pkg/**` * `v2/pkg/stdtoml.sol/stdtoml.go` is excluded by `!v2/pkg/**` * `v2/pkg/storageslot.sol/storageslot.go` is excluded by `!v2/pkg/**` * `v2/pkg/strings.sol/strings.go` is excluded by `!v2/pkg/**` * `v2/pkg/systemcontract.sol/systemcontract.go` is excluded by `!v2/pkg/**` * `v2/pkg/systemcontractmock.sol/systemcontractmock.go` is excluded by `!v2/pkg/**` * `v2/pkg/testerc20.sol/testerc20.go` is excluded by `!v2/pkg/**` * `v2/pkg/testuniversalcontract.sol/testuniversalcontract.go` is excluded by `!v2/pkg/**` * `v2/pkg/transparentupgradeableproxy.sol/transparentupgradeableproxy.go` is excluded by `!v2/pkg/**` * `v2/pkg/upgradeablebeacon.sol/upgradeablebeacon.go` is excluded by `!v2/pkg/**` * `v2/pkg/upgrades.sol/unsafeupgrades.go` is excluded by `!v2/pkg/**` * `v2/pkg/upgrades.sol/upgrades.go` is excluded by `!v2/pkg/**` * `v2/pkg/utils.sol/utils.go` is excluded by `!v2/pkg/**` * `v2/pkg/versions.sol/versions.go` is excluded by `!v2/pkg/**` * `v2/pkg/wzeta.sol/weth9.go` is excluded by `!v2/pkg/**` * `v2/pkg/zeta.non-eth.sol/zetanoneth.go` is excluded by `!v2/pkg/**` * `v2/pkg/zetaconnectornative.sol/zetaconnectornative.go` is excluded by `!v2/pkg/**` * `v2/pkg/zetaconnectornative.t.sol/zetaconnectornativetest.go` is excluded by `!v2/pkg/**` * `v2/pkg/zetaconnectornonnative.sol/zetaconnectornonnative.go` is excluded by `!v2/pkg/**` * `v2/pkg/zetaconnectornonnative.t.sol/zetaconnectornonnativetest.go` is excluded by `!v2/pkg/**` * `v2/pkg/zrc20.sol/zrc20.go` is excluded by `!v2/pkg/**` * `v2/pkg/zrc20.t.sol/zrc20test.go` is excluded by `!v2/pkg/**` * `v2/soldeer.lock` is excluded by `!**/*.lock` * `v2/types/factories/Address__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/BeaconProxy__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ERC1967Proxy__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ERC1967Utils__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ERC20CustodyEchidnaTest__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ERC20Custody__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/GatewayEVMEchidnaTest__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/GatewayEVMUpgradeTest__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/GatewayEVM__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/GatewayZEVM__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/Math__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/MockERC20__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/MockERC721__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ProxyAdmin__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ReceiverEVM__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/SafeERC20__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/SenderZEVM__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/StdError.sol/StdError__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/StdStorage.sol/StdStorageSafe__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/Strings__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/SystemContract.sol/SystemContract__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/SystemContractMock.sol/SystemContractMock__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/TestERC20__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/TestUniversalContract__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/UpgradeableBeacon__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/WZETA.sol/WETH9__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ZRC20.sol/ZRC20__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/Zeta.non-eth.sol/ZetaNonEth__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ZetaConnectorNative__factory.ts` is excluded by `!v2/types/**` * `v2/types/factories/ZetaConnectorNonNative__factory.ts` is excluded by `!v2/types/**`CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including
**/dist/**
will override the default block on thedist
directory.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
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?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.37%. Comparing base (
4fed7cb
) to head (ac15a64
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@fadeev do we need to run yarn docs
with yarn generate
? unfortunately this breaks the build every time because of changes in md files like:
[Git Source](https://github.com/zeta-chain/protocol-contracts/blob/9c4e8cd193f3cb13413316a8459936d5fae7dd6c/contracts/zevm/interfaces/IGatewayZEVM.sol)
that are updated with every commit .../blob/<COMMIT_ID>/...
so CI reports diff and fails the workflow
@skosito let's remove yarn docs
from generate
.
@skosito let's remove
yarn docs
fromgenerate
.
hey @fadeev could you please recheck this one? thanks
@skosito let's remove
yarn docs
fromgenerate
.hey @fadeev could you please recheck this one? thanks
I've ran yarn generate
, this should satisfy the check. It wasn't triggered for some reason. Conflicts with main can be solved with git merge --strategy-option theirs
(they are only touching docs).
@skosito let's remove
yarn docs
fromgenerate
.hey @fadeev could you please recheck this one? thanks
I've ran
yarn generate
, this should satisfy the check. It wasn't triggered for some reason. Conflicts with main can be solved withgit merge --strategy-option theirs
(they are only touching docs).
i was more referring to PR as a whole, if you could review it it would be great, to see if this is ok from package manager perspective, npm publishing and so on
i will resolve conflicts
@skosito I think this is good as long as we use Soldeer only for "development dependencies", so for scripts, tests, etc. (which I believe is what we're doing right now with forge-std
and openzeppelin-foundry-upgrades
). Everything else we install from npm to keep compatibility with tools relying on npm.
Should we remove lib/
?
Should we remove
lib/
?
yes initially i removed it in first commit https://github.com/zeta-chain/protocol-contracts/pull/337/commits/cb0d2663add9a3ff8d95df759a2b13ec2b84a83b#diff-397b1d5f636e2fc49d5a7c17abf7506455208f62a7415abd09fb7e5cff7ff22b but it is reverted back probably in merge commit, looking into it
Summary by CodeRabbit
New Features
yarn
andforge soldeer update
.abigen
andsolc
in the generate script.Bug Fixes
Documentation
Chores