chainlink-starknet icon indicating copy to clipboard operation
chainlink-starknet copied to clipboard

L1EP missing gauntlet commands for e2e tests

Open sdrug opened this issue 1 year ago • 1 comments

Ticket - https://smartcontract-it.atlassian.net/browse/BCI-1218?atlOrigin=eyJpIjoiNWNiNjNmYjEwMmNhNDFhZThjYmRlYmQ5ODEwY2Y3OWEiLCJwIjoiaiJ9

Adding the following commands:

  • Deployment of the L1 AccessController - yarn gauntlet l1_access_controller:deploy --network=<L1_NETWORK>
  • Deployment of the MockAggregator to behave as an L1GasPriceFeed - yarn gauntlet l1_mock_aggregator:deploy --network=<L1_NETWORK>
  • Setting the desired latestAnswer on the mocked aggregator - yarn gauntlet l1_mock_aggregator:set_answer --network=<L1_NETWORK> --answer=<ANSWER> <AGGREGATOR_ADDRESS>

sdrug avatar Jun 05 '23 18:06 sdrug

Looks good, just need to change to latestRoundData() and add the commands to the er protocol README.md 👍

augustbleeds avatar Jun 09 '23 16:06 augustbleeds