Commit Graph

  • 17cc10b3f7 Test Execute result decoding, reentrancy Luke Parker 2025-01-27 13:01:52 -05:00
  • 7e01589fba Erc20::approve for DestinationType::Contract Luke Parker 2025-01-27 11:37:17 -05:00
  • f8c3acae7b Check the Router-deployed contracts' code Luke Parker 2025-01-27 07:48:37 -05:00
  • 0957460f27 Add supporting security commentary to Router.sol Luke Parker 2025-01-27 07:36:23 -05:00
  • ea00ba9ff8 Clarified usage of CREATE Luke Parker 2025-01-27 07:22:40 -05:00
  • a9625364df Test createAddress Luke Parker 2025-01-27 05:37:56 -05:00
  • 75c6427d7c CREATE uses RLP, not ABI-encoding Luke Parker 2025-01-27 04:23:50 -05:00
  • e742a6b0ec Test ERC20 OutInstructions Luke Parker 2025-01-27 02:08:01 -05:00
  • 5164a710a2 Redo gas estimation via revm Luke Parker 2025-01-26 22:42:50 -05:00
  • 27c1dc4646 Test ETH address/code OutInstructions Luke Parker 2025-01-24 18:46:17 -05:00
  • 3892fa30b7 Test an empty execute Luke Parker 2025-01-24 17:13:36 -05:00
  • ed599c8ab5 Have the Batch event encode the amount of results Luke Parker 2025-01-24 17:03:48 -05:00
  • 29bb5e21ab Take advantage of RangeInclusive for specifying filters' blocks Luke Parker 2025-01-24 07:44:47 -05:00
  • 604a4b2442 Add execute_tx to fill in missing test cases reliant on it Luke Parker 2025-01-24 07:33:36 -05:00
  • 977dcad86d Test the Router rejects invalid signatures Luke Parker 2025-01-24 07:22:43 -05:00
  • cefc542744 Test SeraiKeyWasNone Luke Parker 2025-01-24 06:58:54 -05:00
  • 164fe9a14f Test Router's InvalidSeraiKey error Luke Parker 2025-01-24 06:41:24 -05:00
  • f948881eba Simplify async code in in_instructions_unordered Luke Parker 2025-01-24 05:34:49 -05:00
  • 201b675031 Test ERC20 InInstructions Luke Parker 2025-01-24 03:45:04 -05:00
  • 3d44766eff Add ERC20 InInstruction test Luke Parker 2025-01-24 03:23:58 -05:00
  • a63a86ba79 Test Ether InInstructions Luke Parker 2025-01-23 09:30:54 -05:00
  • e922264ebf Add selector collisions to the IERC20 lib Luke Parker 2025-01-23 08:22:41 -05:00
  • 7e53eff642 Fix the async flow with the Router Luke Parker 2025-01-23 06:10:18 -05:00
  • 669b8b776b Work on testing the Router Luke Parker 2025-01-23 01:59:24 -05:00
  • 6508957cbc Make a proper nonReentrant modifier Luke Parker 2025-01-23 00:03:54 -05:00
  • 373e794d2c Check the escaped to address has code set Luke Parker 2025-01-22 22:45:51 -05:00
  • c8f3a32fdf Replace custom read/write impls in router with borsh Luke Parker 2025-01-21 03:49:29 -05:00
  • f690bf831f Remove old code still marked TODO Luke Parker 2025-01-19 02:36:34 -05:00
  • 0b30ac175e Restore workspace-wide clippy Luke Parker 2025-01-19 02:27:35 -05:00
  • 47560fa9a9 Test manually implemented serializations in the Router lib Luke Parker 2025-01-19 00:45:26 -05:00
  • 9d57c4eb4d Downscope dependencies in serai-processor-ethereum-primitives, const-hex decode bytecode in ethereum-schnorr-contract Luke Parker 2025-01-19 00:16:50 -05:00
  • 642ba00952 Update Deployer README, 80-character line length Luke Parker 2025-01-19 00:03:56 -05:00
  • 3c9c12d320 Test the Deployer contract Luke Parker 2025-01-18 23:58:38 -05:00
  • f6b52b3fd3 Maximum line length of 80 in Deployer.sol Luke Parker 2025-01-18 15:22:58 -05:00
  • 0d906363a0 Simplify and test deterministically_sign Luke Parker 2025-01-18 15:13:39 -05:00
  • 8222ce78d8 Correct accumulated errors in the processor Luke Parker 2025-01-18 12:41:57 -05:00
  • cb906242e7 2025 nightly Luke Parker 2025-01-18 12:31:11 -05:00
  • 2a19e9da93 Update to libp2p 0.54 Luke Parker 2025-01-17 04:50:15 -05:00
  • 2226dd59cc Comment all dependencies in substrate/node Luke Parker 2025-01-17 04:09:27 -05:00
  • be2098d2e1 Remove Serai from the ConfirmDkgTask Luke Parker 2025-01-15 21:00:50 -05:00
  • 6b41f32371 Correct handling of InvalidNonce within the coordinator Luke Parker 2025-01-15 20:48:36 -05:00
  • 19b87c7f5a Add the DKG confirmation flow Luke Parker 2025-01-15 20:29:57 -05:00
  • 505f1b20a4 Correct re-attempts for the DKG Confirmation protocol Luke Parker 2025-01-15 17:49:00 -05:00
  • 8b52b921f3 Have the Tributary scanner yield DKG confirmation signing protocol data Luke Parker 2025-01-15 15:15:38 -05:00
  • f36bbcba25 Flatten the map of preprocesses/shares, send Participant index with DkgParticipation Luke Parker 2025-01-15 14:24:51 -05:00
  • 167826aa88 Implement SeraiAddress <-> Participant mapping and add RemoveParticipant transactions Luke Parker 2025-01-15 12:51:35 -05:00
  • bea4f92b7a Fix parity-db builds for the Coordinator Luke Parker 2025-01-15 12:10:11 -05:00
  • 7312fa8d3c Spawn PublishSlashReportTask Luke Parker 2025-01-15 12:08:28 -05:00
  • 92a4cceeeb Spawn PublishBatchTask Luke Parker 2025-01-15 11:21:55 -05:00
  • 3357181fe2 Handle sign::ProcessorMessage::[Preprocesses, Shares] Luke Parker 2025-01-15 10:47:47 -05:00
  • 7ce5bdad44 Don't add transactions for topics which have yet to be recognized Luke Parker 2025-01-15 07:01:24 -05:00
  • 0de3fda921 Further space out requests for cosigns from the network Luke Parker 2025-01-15 05:59:56 -05:00
  • ce3b90541e Make transactions undroppable undroppable-txn Luke Parker 2025-01-15 03:56:59 -05:00
  • cb410cc4e0 Correct how we handle rounding errors within the penalty fn Luke Parker 2025-01-15 02:46:31 -05:00
  • 6c145a5ec3 Disable offline, disruptive slashes Luke Parker 2025-01-14 11:44:13 -05:00
  • a7fef2ba7a Redesign Slash/SlashReport types with a function to calculate the penalty Luke Parker 2025-01-14 07:51:39 -05:00
  • 291ebf5e24 Have serai-task warnings print with the name of the task Luke Parker 2025-01-14 02:22:28 -05:00
  • 5e0e91c85d Add tasks to publish data onto Serai Luke Parker 2025-01-14 01:58:26 -05:00
  • b5a6b0693e Add a proper error type to ContinuallyRan Luke Parker 2025-01-12 18:29:08 -05:00
  • 3cc2abfedc Add a task to publish slash reports Luke Parker 2025-01-12 17:47:48 -05:00
  • 0ce9aad9b2 Add flow to add transactions onto Tributaries Luke Parker 2025-01-12 07:32:45 -05:00
  • e35aa04afb Start handling messages from the processor Luke Parker 2025-01-12 05:53:43 -05:00
  • e7de5125a2 Have processor-messages use CosignIntent/SignedCosign, not the historic cosign format Luke Parker 2025-01-12 05:52:33 -05:00
  • 158140c3a7 Add a proper error for intake_cosign Luke Parker 2025-01-12 05:49:17 -05:00
  • df9a9adaa8 Remove direct dependencies of void, async-trait Luke Parker 2025-01-12 03:48:43 -05:00
  • d854807edd Make message_queue::client::Client::send fallible Luke Parker 2025-01-11 21:57:58 -05:00
  • f501d46d44 Correct disabling of Nagle's algorithm Luke Parker 2025-01-11 06:54:43 -05:00
  • 74106b025f Publish SlashReport onto the Tributary Luke Parker 2025-01-11 06:51:55 -05:00
  • e731b546ab Update documentation Luke Parker 2025-01-11 05:13:43 -05:00
  • 77d60660d2 Move spawn_cosign from main.rs into tributary.rs Luke Parker 2025-01-11 05:12:56 -05:00
  • 3c664ff05f Re-arrange coordinator/ Luke Parker 2025-01-11 04:14:21 -05:00
  • c05b0c9eba Handle Canonical, NewSet from serai-coordinator-substrate Luke Parker 2025-01-11 03:07:15 -05:00
  • 6d5049cab2 Move the task providing transactions onto the Tributary to the Tributary module Luke Parker 2025-01-11 02:10:15 -05:00
  • 1419ba570a Route from tributary scanner to message-queue Luke Parker 2025-01-11 01:55:36 -05:00
  • 542bf2170a Provide Cosign/CosignIntent for Tributaries Luke Parker 2025-01-11 01:31:28 -05:00
  • 378d6b90cf Delete old Tributaries on reboot Luke Parker 2025-01-10 20:10:05 -05:00
  • cbe83956aa Flesh out Coordinator main Luke Parker 2025-01-10 02:24:24 -05:00
  • 091d485fd8 Have the Tributary scanner DB be distinct from the cosign DB Luke Parker 2025-01-10 02:22:58 -05:00
  • 2a3eaf4d7e Wrap the entire Libp2p object in an Arc Luke Parker 2025-01-10 01:20:26 -05:00
  • 23122712cb Document validator jailing upon participation failures and slash report determination Luke Parker 2025-01-09 19:50:20 -05:00
  • 47eb793ce9 Slash upon Tendermint evidence Luke Parker 2025-01-09 06:58:00 -05:00
  • 9b0b5fd1e2 Have serai-cosign index finalized blocks' numbers Luke Parker 2025-01-09 06:57:26 -05:00
  • 893a24a1cc Better document bounds in serai-coordinator-p2p Luke Parker 2025-01-09 06:57:12 -05:00
  • b101e2211a Complete serai-coordinator-p2p Luke Parker 2025-01-09 06:23:14 -05:00
  • 201a444e89 Remove tokio dependency from serai-coordinator-p2p Luke Parker 2025-01-09 02:16:05 -05:00
  • 9833911e06 Promote Request::Heartbeat from an enum variant to a struct Luke Parker 2025-01-09 01:41:42 -05:00
  • 465e8498c4 Make the coordinator's P2P modules their own crates Luke Parker 2025-01-09 01:26:25 -05:00
  • adf20773ac Add libp2p module documentation Luke Parker 2025-01-09 00:40:07 -05:00
  • 295c1bd044 Document improper handling of session rotation in P2P allow list Luke Parker 2025-01-09 00:16:45 -05:00
  • dda6e3e899 Limit each peer to one connection Luke Parker 2025-01-09 00:06:51 -05:00
  • 75a00f2a1a Add allow_block_list to libp2p Luke Parker 2025-01-08 23:54:27 -05:00
  • 6cde2bb6ef Correct and document topic subscription Luke Parker 2025-01-08 23:16:04 -05:00
  • 20326bba73 Replace KeepAlive with ping Luke Parker 2025-01-08 23:01:09 -05:00
  • ce83b41712 Finish mapping Libp2p to the P2p trait API Luke Parker 2025-01-08 19:39:09 -05:00
  • b2bd5d3a44 Remove Debug bound on tributary::P2p Luke Parker 2025-01-08 17:40:32 -05:00
  • de2d6568a4 Actually implement the Peer abstraction for Libp2p Luke Parker 2025-01-08 17:40:08 -05:00
  • fd9b464b35 Add a trait for the P2p network used in the coordinator Luke Parker 2025-01-08 17:01:37 -05:00
  • 376a66b000 Remove async-trait from tendermint-machine, tributary-chain Luke Parker 2025-01-08 16:41:11 -05:00
  • 2121a9b131 Spawn the task to select validators to dial Luke Parker 2025-01-07 18:16:34 -05:00
  • 419223c54e Build the swarm Luke Parker 2025-01-07 18:09:25 -05:00