Commit Graph
2088 Commits
Author SHA1 Message Date
Alejandro Cabeza Romero a05760db73 add gas tests at op-level 2026-08-25 17:27:45 +02:00
Alejandro Cabeza Romero a944f0f8bd op-to-proof matching tests 2026-08-25 16:47:13 +02:00
Alejandro Cabeza Romero 87876329dc single-source operation and proof samples 2026-08-25 16:37:47 +02:00
Alejandro Cabeza Romero 337334884e test: migrate integration tests to typed signed transactions
- construct transactions from Ops and OpProofs
- propagate SignedOps typestates through test helpers
- inspect operations through borrowed OpRef values
- update wallet, cucumber, and workload test flows
- enable typed transaction test utilities
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero d3df41f8b2 test(core): migrate transaction coverage to typed lists
- benchmark SignedOps construction, encoding, and verification
- replace legacy transaction wrappers with Ops and SignedOps
- update block, header, Merkle, and channel verification tests
- use the new typed transaction test helpers
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero a563f9f419 test(mantle): add fixtures for typed transaction entities
- add codec fixtures for operation and proof references
- add fixtures for operation and signed-operation lists
- centralize transaction hashing fixtures
- enable placeholder-proof helpers through test-utils
- replace the legacy transaction fixture module
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero 93dc8531ce refactor(tooling): adopt typed signed transactions
- construct SignedOps from typed operation and proof lists
- inspect transaction contents through borrowed OpRef values
- propagate signed transactions through demo sequencers and archivers
- update TUI commands and configuration generation
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero f0cf97841f refactor(zone-sdk): adopt typed signed transactions
- expose SignedOps through sequencing and publishing APIs
- construct transactions from typed operation and proof lists
- inspect operations and proofs through borrowed views
- preserve transaction typestates across pending and published state
- update SDK documentation and test support
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero 11f9fc4032 refactor(wallet): adopt typed signed transactions
- construct transactions from typed operation and proof lists
- propagate SignedOps through wallet and SDP service APIs
- inspect transaction contents through borrowed OpRef values
- preserve transaction typestates across signing and submission
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero 24a4a25496 refactor(node): expose signed transactions through node APIs
- use SignedOps across storage, subscriptions, and mempool boundaries
  - propagate transaction typestates through node services
  - serialize operations through borrowed OpRef views
  - update HTTP request and response types
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero b91bc1461b refactor(chain): propagate signed transactions through chain services
- replace legacy transaction wrappers with SignedOps
- carry transaction typestates through mempool, networking, and consensus
- use transaction traits instead of the removed concrete types
- consume transactions when ledger verification requires ownership
2026-08-21 17:57:46 +02:00
Alejandro Cabeza Romero a917db2687 refactor(ledger): execute typed signed operations
- initialize ledger state from typed genesis operations
- consume SignedOps during transaction verification
- execute only operations in the Verified state
- propagate signed operations through Mantle and SDP state transitions
- expose the new transaction types through the Mantle API
2026-08-21 17:36:42 +02:00
Alejandro Cabeza Romero 987f808823 refactor(mantle): model genesis operations with typestate
- store genesis transactions as SignedOps in GenesisMode
- expose required genesis operations as typed SignedOperation values
- consume GenesisTx into verified transfer and inscription operations
- rely on SignedOps to enforce operation and proof pairing
- adapt genesis block construction and accessors
2026-08-21 17:31:12 +02:00
Alejandro Cabeza Romero 27997a5b14 refactor(mantle): adopt typed transaction abstractions
- build unsigned transactions directly as Ops
- consume preverified SignedOps and yield verified SignedOp
- delegate stateful verification to the signed operation typestate
- document that verification must stop after the first failure
2026-08-21 17:27:32 +02:00
Alejandro Cabeza Romero 30b4b739a1 refactor(mantle): replace mantle transactions with signed operation lists
- replace parallel operation/proof storage with TxList<SignedOp>
- validate operation count and proof compatibility during construction
- expose borrowed operation and proof list views
- implement encoding, hashing, serialization, gas accounting, and typestate transitions
- remove the legacy MantleTransaction and RawSignedMantleTx wrappers
- update the transaction traits and errors for SignedOps
2026-08-21 17:19:35 +02:00
Alejandro Cabeza Romero 72b3caf91f refactor(mantle): introduce typed transaction lists
- introduce the bounded TxList<T> abstraction
- model owned operations and proofs as Ops and OpProofs
- provide borrowed OpRefs and OpProofRefs list views
- centralize list encoding, hashing, serialization, and size bounds
- move the existing unsigned transaction implementation into tx_list::Ops
2026-08-21 17:15:54 +02:00
Alejandro Cabeza Romero 1ed3fee54c refactor(mantle): pair operations with their typed proofs
- represent erased signed operations as typed SignedOperation variants in SignedOp
- reject mismatched operation and proof pairs during construction
- introduce borrowed OpRef and OpProofRef views
- delegate operation metadata, gas, and encoding through borrowed views
- move concrete proof types into dedicated modules
- dispatch state transitions across signed operation variants
2026-08-21 17:12:02 +02:00
Alejandro Cabeza Romero 8eb3b8aeb1 refactor(mantle): bind operation lifecycle traits to signed operations
- move operation lifecycle implementations from concrete operation types to state-specific SignedOperation<Op, State, Mode> values
- obtain proofs from SignedOperation instead of passing them separately
- adapt consuming helpers to transition between verification states
- preserve signed operations when verification or execution fails
- provide trusted state transitions for genesis and test construction
- remove the redundant aggregate Operation trait
2026-08-21 17:02:08 +02:00
Alejandro Cabeza Romero 4e695759b1 Remove unneeded todo. 2026-08-21 13:07:10 +02:00
Alejandro Cabeza Romero 148004ed10 Reorder ops in OpSer and OpDe according to their code. 2026-08-21 13:07:10 +02:00
Alejandro Cabeza Romero 3ffce98287 Move Op code delcarations into ops themselves. 2026-08-21 13:07:10 +02:00
Alejandro Cabeza Romero 1bcb6e33ff Add missing Pow op sample to tests fixture. 2026-08-21 13:06:38 +02:00
Alejandro Cabeza Romero 10db2a7b49 Leftover renames. 2026-08-21 13:06:38 +02:00
Alejandro Cabeza Romero 4010302e40 Rename Op::execution_gas into Op::gas_cost. 2026-08-21 13:06:38 +02:00
Alejandro Cabeza Romero 440aa2cc52 Rename VerifiedOps to VerifiedOperations. 2026-08-21 13:06:38 +02:00
Alejandro Cabeza Romero 2fd016b36f Rename OpsProofs to OpProofs. 2026-08-21 13:06:36 +02:00
Alejandro Cabeza Romero d291476126 Rename SignedMantleTx (struct) into MantleTransaction. 2026-08-21 13:02:30 +02:00
Alejandro Cabeza Romero 6b48bc5616 Implement SignedMantleTx (trait) and RawSignedMantleTx (wrapper). 2026-08-21 13:02:30 +02:00
Alejandro Cabeza Romero 23601d53b4 Define SignedOp and SignedOps. 2026-08-21 13:02:30 +02:00
Alejandro Cabeza Romero 2fa6b5c1b2 Namespace op codes. 2026-08-21 13:02:30 +02:00
Alejandro Cabeza Romero ed43a49888 Move Op and OpProof into dedicated modules. 2026-08-21 13:02:30 +02:00
Alejandro Cabeza Romero ad41822e03 Rename SignedOp into SignedOperation. 2026-08-21 13:02:30 +02:00
Antonio 5a70b0295c chore: update toolchain to Rust 1.98 (#3362) 2026-08-21 08:33:27 +00:00
Antonio 0b608c19de chore(blend): drop proof generation from old epoch crypto processors (#3350) 2026-08-21 05:57:11 +00:00
Petar Radovic 3ae4ba9f4a feat(zone-sdk): channel wallet tracker (#3246) 2026-08-19 15:43:10 +00:00
Antonio 8586db87d9 chore: update vulnerable dependency (#3349) 2026-08-19 06:48:56 +00:00
Antonio 109c20edcc chore: update block compression support based on latest spec draft (#3346) 2026-08-19 06:47:41 +00:00
Antonio 14c114a525 feat(blend): support tx blending (#3321) 2026-08-19 05:14:57 +00:00
Daniel Sanchez e595abf72c fix(tx): Add missing OpDe for claimopreward (#3347) 2026-08-18 14:22:47 +00:00
Antonio b73a6a48da feat(mantle): keep track of Blend-related state for epoch-bound PoW difficulty updates (#3317) 2026-08-18 12:19:07 +00:00
Antonio 4feb45c7ae feat(blend): PoW proof generator (#3310) 2026-08-18 12:19:07 +00:00
Youngjoon Lee f36529bdbb chore(chainsync): fix wrong log messages (#3309) 2026-08-18 09:00:01 +00:00
Youngjoon Lee c76c6152fa fix(consensus): rename window_absorption_parameter to uncle_reference_window_in_block (#3339) 2026-08-18 07:46:47 +00:00
Youngjoon Lee cc57393251 test(zk): add benchmark for ZkSig batch verification (#3306) 2026-08-18 06:53:25 +00:00
Andrus Salumets 9a254b2a5f chore(ci): clean up merged branches with a scheduled job (#3340) 2026-08-18 06:49:17 +00:00
Youngjoon Lee 678c13e13a test(ledger): simulate the TSI gap with/without uncle-ref (#3341) 2026-08-18 06:40:36 +00:00
Antonio 8c2f41caf7 feat: add HTTP API for running node version (#3296) 2026-08-18 06:30:43 +00:00
Andrus Salumets b44ec7fd34 fix(zone-sdk): make block event processing cancellation-safe (#3334) 2026-08-18 05:14:46 +00:00
Hansie Odendaal fca0fc6e0b test: add future dated fee projections (#3286) 2026-08-17 21:20:45 +00:00
Youngjoon Lee 4a0564b71b refactor(core): reuse the header validation for uncle validation (#3314) 2026-08-15 06:18:21 +00:00