提交 47076035 编写于 作者: B Brian Johnson

Removed require_scope from Contract API.

上级 7a815e75
......@@ -103,13 +103,6 @@ extern "C" {
*/
void require_auth( AccountName name );
/**
* Verifies that @ref name exists in the scope on a message. Throws if not found
* @brief Verify specified account exists in the scope
* @param name - name of the account to be verified
*/
void require_scope( AccountName name );
/**
* Get the account which specifies the code that is being run
* @brief Get the account which specifies the code that is being run
......
......@@ -376,10 +376,6 @@ DEFINE_INTRINSIC_FUNCTION1(env,require_notice,require_notice,none,i64,account) {
wasm_interface::get().current_apply_context->require_recipient( account );
}
DEFINE_INTRINSIC_FUNCTION1(env,require_scope,require_scope,none,i64,scope) {
wasm_interface::get().current_validate_context->require_scope( scope );
}
DEFINE_INTRINSIC_FUNCTION3(env,memcpy,memcpy,i32,i32,dstp,i32,srcp,i32,len) {
auto& wasm = wasm_interface::get();
auto mem = wasm.current_memory;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册