diff --git a/crates/astria-sequencer/CHANGELOG.md b/crates/astria-sequencer/CHANGELOG.md index 9e18802d9..c7616d6a2 100644 --- a/crates/astria-sequencer/CHANGELOG.md +++ b/crates/astria-sequencer/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump penumbra dependencies [#1740](https://github.com/astriaorg/astria/pull/1740). - Move fee event recording to transaction from block [#1718](https://github.com/astriaorg/astria/pull/1718). +- Nonce replacment for pending transactions is now allowed in the mempool [#1763](https://github.com/astriaorg/astria/pull/1763). ## [1.0.0-rc.2] - 2024-10-23 diff --git a/crates/astria-sequencer/src/mempool/transactions_container.rs b/crates/astria-sequencer/src/mempool/transactions_container.rs index 5e5852b0e..a2cb62c17 100644 --- a/crates/astria-sequencer/src/mempool/transactions_container.rs +++ b/crates/astria-sequencer/src/mempool/transactions_container.rs @@ -1612,14 +1612,8 @@ mod tests { let account_balances = mock_balances(1, 1); // create two transactions with same nonce but different hash - let tx_0 = MockTTXBuilder::new() - .nonce(0) - .group(Group::UnbundleableSudo) - .build(); - let tx_1 = MockTTXBuilder::new() - .nonce(0) - .group(Group::UnbundleableGeneral) - .build(); + let tx_0 = MockTTXBuilder::new().nonce(0).chain_id("test-0").build(); + let tx_1 = MockTTXBuilder::new().nonce(0).chain_id("test-1").build(); // add first transaction pending_txs.add(tx_0.clone(), 0, &account_balances).unwrap();