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

adding separate flag for MultiESDTNFTTransferAndExecuteByUserFlag #858

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

sasurobert
Copy link
Contributor

No description provided.

@@ -544,6 +544,10 @@ func (host *vmHost) AreInSameShard(leftAddress []byte, rightAddress []byte) bool

// IsAllowedToExecute returns true if the special opcode is allowed to be run by the address
func (host *vmHost) IsAllowedToExecute(opcode string) bool {
if !host.enableEpochsHandler.IsFlagEnabled(vmhost.MultiESDTNFTTransferAndExecuteByUserFlag) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this flag should be also added on L43, as part of allFlags slice

@sstanculeanu sstanculeanu merged commit 1a6d87a into rc/v1.7.next1 Jul 29, 2024
4 checks passed
@sstanculeanu sstanculeanu deleted the separate-flag-multi-transfer-by-user branch July 29, 2024 07:08
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.

3 participants