Skip to content

Commit

Permalink
GH-54 Add a print to activate so this bios contract is different then…
Browse files Browse the repository at this point in the history
… the bios contract used in eos-system-contracts avoiding a duplicate trx error on set_code of its bios contract.
  • Loading branch information
heifner committed Jan 13, 2023
1 parent 1e3b4a3 commit 759a069
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/testing/contracts/eosio.bios/eosio.bios.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ void bios::reqauth( name from ) {
void bios::activate( const eosio::checksum256& feature_digest ) {
require_auth( get_self() );
preactivate_feature( feature_digest );
print( "feature digest activated: ", feature_digest, "\n" );
}

void bios::reqactivated( const eosio::checksum256& feature_digest ) {
Expand Down
Binary file modified libraries/testing/contracts/eosio.bios/eosio.bios.wasm
Binary file not shown.

0 comments on commit 759a069

Please sign in to comment.