Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 2.79 KB

pfm.md

File metadata and controls

10 lines (9 loc) · 2.79 KB

Tests handle

No Scenario Pre-condition Pre-condition check Expected result Expected result check Covered By
1 Rollapp to 3rd party chain
  • Try to send RAX from rollapp to an external chain, eibc should be switched off
  • RAX should be available on a 3rd party chain after rollapp grace period is reached
  • no packet commitment left on the rollapp (i.e ack recieved). can be queries using the cli rollapp-evm q ibc channel packet-commitments transfer
TestIBCPFMWithGracePeriod_EVM TestIBCPFMWithGracePeriod_Wasm
2 3rd party chain to Rollapp
  • transfer from 3rd party chain to rollapp
  • funds should be available on rollapp almost immediately
TestIBCTransferGaiaToRollApp_EVM TestIBCTransferGaiaToRollApp_Wasm
3 Rollapp to 3rd party chain with eIBC
  • send PFM + eIBC memo should fail with ackError on hub
  • no packet commitment left on the rollapp (i.e ack recieved). can be queries using the cli rollapp-evm q ibc channel packet-commitments transfer
TestEIBCPFM_EVM TestEIBCPFM_Wasm
4 Rollapp to Rollapp - ERC20 registered erc20 registered on rollapp2 for rollapp 1 IBC
  • send from rollapp 1 to rollapp 2 using PFM
  • rollapp token 1 should be available on the rollapp 2 after rollapp1 grace period is reached
  • no packet commitment left on the rollapp (i.e ack recieved). can be queries using the cli rollapp-evm q ibc channel packet-commitments transfer
TestIBCPFM_RollApp1ToRollApp2WithErc20
5 Rollapp to Rollapp - ERC20 not registered erc20 NOT registered on rollapp2 for rollapp 1 IBC
  • send from rollapp 1 to rollapp 2 using PFM should fail
  • rollapp token 1 should return to rollapp1 after (rollapp1 grace period + rollapp2 grace period) is reached.
  • no packet commitment left on the rollapp (i.e ack recieved). can be queries using the cli rollapp-evm q ibc channel packet-commitments transfer
TestIBCPFM_RollApp1ToRollApp2WithOutErc20
6 Rollapp to Rollapp + eIBC send from rollapp 1 to rollapp 2 using PFM + eIBC should fail TestEIBCPFM_EVM TestEIBCPFM_Wasm