eos icon indicating copy to clipboard operation
eos copied to clipboard

Core symbol name change does not get implemented

Open jchung00 opened this issue 8 years ago • 2 comments

Version: dawn-v4.2.0 OS: Ubuntu 18.04 We ran this in the source folder before building.

ex -sc '16i|set( CORE_SYMBOL_NAME "EOS" )' -cx CMakeLists.txt

Then, we launched the network and then ran the following on the bios node:

./cleos.sh push action eosio.token create '["eosio", "10000000000.0000 EOS"]' -p eosio.token
./cleos.sh push action eosio.token issue '["eosio",  "1000000000.0000 EOS", "init"]' -p eosio

However, the following command would cause an assertion exception: unknown key:

./cleos.sh set contract eosio $CONTRACTS_FOLDER/eosio.system -x 1000 -p eosio

We tried this to see if it would solve the assertion exception:

./cleos.sh push action eosio.token create '["eosio", "10000000000.0000 EOS"]' -p eosio.token
./cleos.sh push action eosio.token issue '["eosio",  "1000000000.0000 EOS", "init"]' -p eosio
./cleos.sh set contract eosio $CONTRACTS_FOLDER/eosio.system -x 1000 -p eosio

And the system contract was deployed. Below is a screenshot of what we tried next, which leads us to believe that the core symbol name change hasn't really been implemented. screen shot 2018-05-29 at 4 23 59 pm

jchung00 avatar May 29 '18 17:05 jchung00

After running that first command to change SYS to EOS please actually verify that the string has changed in CMakeLists.txt. If it has not, then that command is not working.

It should work if you manually change the "SYS" to "EOS" in CMakeLists.txt.

arhag avatar May 29 '18 21:05 arhag

@arhag Does this mean that we must change every reference to "SYS" in CMakeLists.txt to "EOS"? We did verify that CORE_SYMBOL_NAME ("EOS") was added to the file around line 16

jchung00 avatar May 30 '18 02:05 jchung00