Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Suppress unnecessary deserialization for setcode #530

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/eosio.system/include/eosio.system/native.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ namespace eosiosystem {
* @param code - the code content to be set, in the form of a blob binary..
*/
[[eosio::action]]
void setcode( const name& account, uint8_t vmtype, uint8_t vmversion, const std::vector<char>& code ) {}
void setcode( ignore<name> account, ignore<uint8_t>vmtype, ignore<uint8_t> vmversion, ignore<std::vector<char>> code ) {}

using newaccount_action = eosio::action_wrapper<"newaccount"_n, &native::newaccount>;
using updateauth_action = eosio::action_wrapper<"updateauth"_n, &native::updateauth>;
Expand Down