Skip to content

Conversation

@dzajkowski
Copy link
Contributor

@dzajkowski dzajkowski commented Jul 7, 2021

This is the first PR to allow bodies to contain TypedTransactions and LegacyTransactions at the same time (Magneto HF).

It renames the base transaction type, introduces the TransactionWithAccessList class and fixes unit tests.

More to come.

@dzajkowski dzajkowski force-pushed the feature/etcm-921-optional-access-list-3 branch from e7d3aaf to 42ac0e0 Compare July 7, 2021 14:08
}
}

case class TransactionWithAccessList(
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this by any chance simply be a Transaction? :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it would collide with trait Transaction. or do you have a good name for the base one?

Copy link
Contributor

Choose a reason for hiding this comment

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

TransactionBase maybe?

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 deal with typed transactions is that there will be more of them. this one is just the first. I could name it TypedTransaction01.
02 has already been proposed and is being adapted afaik

@dzajkowski dzajkowski merged commit 6b69a2a into develop Jul 8, 2021
@dzajkowski dzajkowski deleted the feature/etcm-921-optional-access-list-3 branch July 8, 2021 07:06
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.

4 participants