Skip to content

Runtime doesn't expose host functions for GlobalContracts actions #13373

@akorchyn

Description

@akorchyn

Contact Details

No response

Which network are you using?

testnet

What happened?

As the GlobalContract feature is released to the testnet, we have identified that the runtime is missing the host functions (promise_batch_action_deploy_global_contract, promise_batch_action_use_global_contract) for UseGlobalContractAction and DeployGlobalContractAction

This prevents contract developers from utilizing the feature and from creating factories that deploy contracts using it.

Relevant files

https://github.com/near/nearcore/blob/223ee32fe5fd60236a41478a0bf613c4b97d8169/runtime/near-vm-runner/src/logic/logic.rs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions