Verifying Code Updates
How to verify code updates of smart contracts deployed on Libre.
Last updated
#!/bin/bash
CLEOS=/usr/opt/eosio/2.1.0-rc2/bin/cleos #this path will vary
API=https://api.libre.eossweden.org/ #server can change
$CLEOS -u $API "$@"cleos -u http://lb.libre.org push transaction '{
"delay_sec": 0,
"max_cpu_usage_ms": 0,
"actions": [
{
"account": "eosio.msig",
"name": "approve",
"data": {
"proposer": "quantum",
"proposal_name": "feb23stake",
"level": {
"actor": "sweden",
"permission": "active"
}
},
"authorization": [
{
"actor": "sweden",
"permission": "active"
}
]
}
]
}'