foundry icon indicating copy to clipboard operation
foundry copied to clipboard

[wip] feat(`anvil`): migrate tests to alloy

Open Evalir opened this issue 1 year ago • 2 comments

Motivation

migrates all anvil tests to alloy. wip.

Solution

Evalir avatar Jan 30 '24 14:01 Evalir

Currently blocked on:

  • alloy-sol-contract to replace abigen! & deploy test contracts
  • Finalizing call builder to build signable & sendable transactions through an alloy Provider
  • Subscriptions functionality

Evalir avatar Jan 31 '24 20:01 Evalir

Continuing by introducing alloy-contract everywhere we can, and switching to just using alloy types and converting as needed. We're lacking the functionality to deploy/send txs which is being worked on https://github.com/alloy-rs/alloy/pull/190. A good amount of usage is actually calls, so we can make good progress while this settles.

Subscriptions are also still WIP, although this is the last thing we'll integrate.

Evalir avatar Feb 09 '24 17:02 Evalir