You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Upgrade script parameterisable instead of using "IexecLayerZeroBridgeV2Mock.sol:IexecLayerZeroBridgeV2" and hardcoded newStateVariable: newStateVariable
Move env variable from env file to config.json file (save contract deployment address, ...)
Tests Unit:
- Develop TODO in the code
- make some unit test for script files
- Add unit tests for _credit and _debit ✅
- Check non covered functions
- add missing IexecLayerZeroBridgeScript tests
Tests e2e:
- Make a transfer between two fork chains (good receiver, good amount, ...)
- move fork from testnet to mainnet
Must have for the audit:
AllowSkipCheckfor upgradeapproveAndCallOwnablefunctionsUpgradescript parameterisable instead of using"IexecLayerZeroBridgeV2Mock.sol:IexecLayerZeroBridgeV2"and hardcodednewStateVariable: newStateVariableenvfile toconfig.jsonfile (save contract deployment address, ...)- Develop TODO in the code
- make some unit test for script files
- Add unit tests for
_creditand_debit✅- Check non covered functions
- add missing IexecLayerZeroBridgeScript tests
- Make a transfer between two fork chains (good receiver, good amount, ...)
- move fork from testnet to mainnet
- shared decimals https://docs.layerzero.network/v2/developers/evm/oft/quickstart#token-transfer-precision
- lock/unlock (unit)
- mint/burn(unit)
- mint +burn +lock + unlock (e2e)
- Make a transfer between two chains - supply should always be the same
noneto something else- Rename tests to:
test_RevertWhen_<name>_<description>