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

txDAG transfer by gasless transaction (#28) #150

Merged

Conversation

andyzhang2023
Copy link
Contributor

  • txDAG transfer

  • encode/decode txDAG data with ABI

  • set txDAG receiver to a special address


Co-authored-by: andyzhang2023 andyzhang2023@gmail.com

merge conflict

fix conflict

Description

add a description of your changes here...

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

* txDAG transfer

* encode/decode txDAG data with ABI

* set txDAG receiver to a special address

---------

Co-authored-by: andyzhang2023 <andyzhang2023@gmail.com>

merge conflict

fix conflict
@github-actions github-actions bot requested review from bnoieh and redhdx August 26, 2024 08:49
miner/worker.go Outdated Show resolved Hide resolved
miner/worker.go Outdated
@@ -1167,6 +1246,8 @@ func (w *worker) fillTransactions(interrupt *atomic.Int32, env *environment) err
return err
}
}
// append a DAG tx at the end of the block
w.appendTxDAG(env)
Copy link
Collaborator

Choose a reason for hiding this comment

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

If there has MEV bundles, this tx may not the last one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, indeed.

@andyzhang2023 andyzhang2023 merged commit 9c16cd4 into bnb-chain:feature/TxDAG Aug 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants