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

EN-13550: blockChainHook addressGenerator extracted #26

Open
wants to merge 4 commits into
base: rc/v1.5.0
Choose a base branch
from

Conversation

dragos-rebegea
Copy link

No description provided.

@@ -56,6 +56,7 @@ type vmHost struct {
// NewArwenVM creates a new Arwen vmHost
func NewArwenVM(
blockChainHook vmcommon.BlockchainHook,
addressGenerator arwen.AddressGenerator,
Copy link
Contributor

Choose a reason for hiding this comment

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

The address generator must be passed as part of VMHostParameters. Please do not alter the constructor signature.

Copy link
Contributor

@sasurobert sasurobert left a comment

Choose a reason for hiding this comment

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

If this is targeted to rc1.5 - we need to target this on the new vm repo. Also this has to enter after rebranding feat. vm-common has to be changed if vmcommon.BlockchainHook does not have the createNewAddress function.

Base automatically changed from freeze-account to rc/v1.5.0 April 5, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants