Extended kairos-test-utils/cctl to deploy a given contract
added a basic test that checks that the contract was deployed successfully
adjusted the nixos module for cctl
Added a contract hash argument to the kairos-cli deposit command
Refactored the EventManager to be a DepositManager. This manager is part of the ServerState and is used to both fetch events every 30s or when a known deposit deploy event got triggered.
Added a known deposit deploys set that is used to keep track of deposit deploys routed through our L2
Updated the EventManager initialization to use retry and to initialize the next_deposit_index with the current on-chain state
Disabled cctl tests for kairos-test-utils, as the cctl-related tests should be tested once factored our in cctil-rs and it's implicitly tested in our kairos-cli integration test as well as the e2e test
Things done:
kairos-test-utils/cctl
to deploy a given contractEventManager
to be aDepositManager
. This manager is part of theServerState
and is used to both fetch events every 30s or when a known deposit deploy event got triggered.cctil-rs
and it's implicitly tested in ourkairos-cli
integration test as well as the e2e test