Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow decision txs in proposal blocks #2442

Closed

Conversation

abi87
Copy link
Contributor

@abi87 abi87 commented Dec 7, 2023

Why this should be merged

Allow inclusion of standard txs in proposal block once Durango is activated

How this works

How this was tested

CI + mainnet sync

@abi87 abi87 changed the title Allonw decision txs in proposal blocks Allow decision txs in proposal blocks Dec 7, 2023
@abi87 abi87 linked an issue Dec 7, 2023 that may be closed by this pull request
@@ -29,7 +29,7 @@ import (
"github.com/ava-labs/avalanchego/vms/platformvm/txs/mempool"
)

func TestVerifierVisitProposalBlock(t *testing.T) {
func TestApricotVerifierVisitProposalBlock(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As usual this tests are not well maintained.
Introducing the following convention:
The first word after test is the fork that the test targets. We use LatestFork it the test is meant to be carried out across forks, so to remember to update the test.

@abi87 abi87 marked this pull request as ready for review December 7, 2023 12:48
onAcceptState: onProposalBlockState,
statelessBlock: b,
timestamp: onProposalBlockState.GetTimestamp(),
}
if err := v.processStandardTxs(b.Transactions, proposalBlkState); err != nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the import/export UTXOs are not correctly handled upon accept here

@dhrubabasu
Copy link
Contributor

Superseded by #2451

@dhrubabasu dhrubabasu closed this Dec 11, 2023
@dhrubabasu dhrubabasu deleted the decision_txs_in_proposal_blocks branch December 11, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants