Skip to content

Conversation

igor-casper
Copy link
Contributor

Threads authorization_keys into the VM2 context and executor, forwards them in all appropriate subcalls

.with_parent_block_hash(parent_block_hash)
.with_block_height(block_height)
.with_runtime_native_config(runtime_native_config)
.with_authorization_keys(BTreeSet::from_iter([initiator]))
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should also support authorization keys in the installer

Comment on lines 900 to 904
let authorization_keys = if authorization_keys.is_empty() {
BTreeSet::from_iter([initiator])
} else {
authorization_keys
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

That seems unnecessary - wouldn't VM1 just take authorization keys, and handle the initiator case inside?

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