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
The current integration tests execute calls directly against the EMT contract, which does not accurately replicate mainnet behavior. On mainnet, such calls (by sending a transaction) would be routed through the transfer contract, triggering an inter-contract call (ICC) to the EMT contract.
To align the tests with mainnet behavior, we should modify the test setup so that:
The created VM session includes the transfer contract.
Each test against the EMT contract is executed as a call to the transfer contract, containing call_data for an ICC to the EMT contract.
Additionally, we should investigate whether further adjustments to the VM (e.g., Config) are necessary. We may also need to mock transitory logic.
The text was updated successfully, but these errors were encountered:
Summary
The current integration tests execute calls directly against the EMT contract, which does not accurately replicate mainnet behavior. On mainnet, such calls (by sending a transaction) would be routed through the transfer contract, triggering an inter-contract call (ICC) to the EMT contract.
To align the tests with mainnet behavior, we should modify the test setup so that:
Additionally, we should investigate whether further adjustments to the VM (e.g., Config) are necessary. We may also need to mock transitory logic.
The text was updated successfully, but these errors were encountered: