The Anvil devchain is set to become a core part of the primitive team's L2 testing and release tooling. The end goal is to run e2e tests against the anvil devchain, instead of the ganache devchain. This is a large initiative akin to the unit test migration from ganache to forge:
The scope of this issue to implement a proof of concept e2e test, and demo a setup pattern that can be used across all contracts.
To start, the idea is to demo a proof of concept with FeeCurrencyDirectory.sol or Accounts.sol since these might be simpler contracts. Technically, Governance.sol or Proposals.sol are the higher impact/value contracts, but they are more complex. So they might not be the best playground.
Once this is done, the next step is to create a list of e2e test to be migrated using the pattern demoed here.
The Anvil devchain is set to become a core part of the primitive team's L2 testing and release tooling. The end goal is to run e2e tests against the anvil devchain, instead of the ganache devchain. This is a large initiative akin to the unit test migration from ganache to forge:
The scope of this issue to implement a proof of concept e2e test, and demo a setup pattern that can be used across all contracts.
To start, the idea is to demo a proof of concept with
FeeCurrencyDirectory.sol
orAccounts.sol
since these might be simpler contracts. Technically,Governance.sol
orProposals.sol
are the higher impact/value contracts, but they are more complex. So they might not be the best playground.Once this is done, the next step is to create a list of e2e test to be migrated using the pattern demoed here.