Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Conversation

@Ruteri
Copy link
Collaborator

@Ruteri Ruteri commented Dec 23, 2022

📝 Summary

Moves the BuilderPayloadAttributes structure to common library
Refactors miner test setup
Refactors builder setup and how env header is prepared
New channel unit testing utility
Adds two new kinds of algo tests with proper contract calls in preparation of new kinds of testing we want to do in the near future
Adds simulation backend for use in miner algo unit tests

📚 References

Rebased #27


@Ruteri Ruteri requested review from avalonche and dvush December 23, 2022 14:28
@Ruteri Ruteri mentioned this pull request Dec 23, 2022
1 task
@Ruteri
Copy link
Collaborator Author

Ruteri commented Dec 23, 2022

Cc @lmittmann

@Ruteri Ruteri force-pushed the pr-27-rebase branch 2 times, most recently from 1dfc9f6 to d7cecad Compare December 23, 2022 15:45
func (s TxByNonce) Less(i, j int) bool { return s[i].Nonce() < s[j].Nonce() }
func (s TxByNonce) Swap(i, j int) { s[i], s[j] = s[j], s[i] }

type _Order interface {
Copy link
Contributor

Choose a reason for hiding this comment

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

why aren't bundles and related types in a separate file like builder.go?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This particular type is used internally by TxWithMinerFee so this is I think the more fitting place

@Ruteri Ruteri merged commit dccbf1c into main Dec 28, 2022
@Ruteri Ruteri deleted the pr-27-rebase branch December 28, 2022 14:12
avalonche pushed a commit that referenced this pull request Feb 7, 2023
avalonche pushed a commit that referenced this pull request Mar 9, 2023
avalonche pushed a commit that referenced this pull request Jul 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants