Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chain Agnostic MultiNode + EVM Implementation (#13386)
* Update rpc client * Update RPCClient * Update RPCClient * use Eth Subscription for heads * Make RpcClient public * Update node * Update Multinode * Fix build + generate * Udate multinode * update multinode * fix tests * Fix mocks * Update node_lifecycle_test.go * Fix all client tests * Fix tests * Update client_test.go * go mod tidy * fix tests * Fix tests * Clean up * Fix features test mocking * Fix logging * Remove logging * Fix tests * Fix context * lint * Update node_lifecycle_test.go * Remove unused generics * Add state locking * Set block difficulty * Update node_lifecycle.go * Fix tests * Make NodeStates public * Update multi_node_test.go * Update Unsubscribe * Remove HEAD generic from Node interface * Remove unneeded generics * Remove unneeded generics from Multinode * Remove Multinode as interface * Add PoolChainInfoProvider * Setup SendOnly nodes * Test empty context * Add err to log * Add rpc newHeads method * Fix context * Changeset * Remove unused mocks * Create Transaction Sender * Implement TransactionSender * Fix transaction sender types * Implement transaction sender tests * Ensure MultiNode is running * Address comments * Remove ChainClientRPC interface * Remove unneeded test * Generate mocks * Fix tests * fix tests * Use UnsubscribeAllExcept * Fix rpc client tests * Address comments * Remove unused code * Generate private mock * lint * Fix locks and unsubscribing * Update node.go * fixed flaky headtracker tests * Update node_lifecycle_test.go * Update node_lifecycle_test.go * Update transaction sender * Update chain_client_test.go * Remove unused variables * lint * enable secondary url test * Use http if not nil * Update transaction_sender.go * Add close method * Update rpc_client.go * changeset * Add Close to transaction sender * Return struct not interface * Remove flaky test * Fix context * Test if mn closes * Fix context cancel * Fix DoAll * lint generate * Revert * Fix mocks * Update node_lifecycle.go * lint * Delete rpc_client.go * Address comments * Fix tests * Update common/client/send_only_node.go Co-authored-by: Dmytro Haidashenko <34754799+dhaidashenko@users.noreply.github.com> * Address comments * Address comments * Rename SubscribeToHeads * Return code * Update transaction_sender.go * Fix merge conflicts * Handle batch requests * Delete mock_rpc_client_test.go * Update common/client/types.go Co-authored-by: Dmytro Haidashenko <34754799+dhaidashenko@users.noreply.github.com> * Move RPC methods * Use map for subs * Don't cancel context * Update transaction_sender.go * Fix lint * Delete late-mails-battle.md * lint * lint * Check Transaction Sender state * Return Retryable * Update core/chains/evm/client/chain_client_test.go Co-authored-by: Jordan Krage <jmank88@gmail.com> * Update sub_forwarder.go * Update config.go * lint * Don't export nodeState * Update changeset * Use subsSliceMu * lint * Update rpc_client.go * nil ws url for sendonly nodes * Use head polling --------- Co-authored-by: Dmytro Haidashenko <dmytro.haidashenko@smartcontract.com> Co-authored-by: Dmytro Haidashenko <34754799+dhaidashenko@users.noreply.github.com> Co-authored-by: Jordan Krage <jmank88@gmail.com>
- Loading branch information