tests_014/test_contract_onchain_opcodes.py::TestContractOnchainOpcodes::test_set_delegate
Node is bootstrapped.
Estimated gas: 1411.719 units (will add 100 for safety)
Estimated storage: 308 bytes added (will add 20 for safety)
Operation successfully injected in the node.
Operation hash is '[BLOCK_HASH]'
NOT waiting for the operation to be included.
Use command
octez-client wait for [BLOCK_HASH] to be included --confirmations 1 --branch [BLOCK_HASH]
and/or an external block explorer to make sure that it has been included.
This sequence of operations was run:
Manager signed operations:
From: [CONTRACT_HASH]
Fee to the baker: ꜩ0.000434
Expected counter: [EXPECTED_COUNTER]
Gas limit: 1512
Storage limit: 328 bytes
Balance updates:
[CONTRACT_HASH] ... -ꜩ0.000434
payload fees(the block proposer) ....... +ꜩ0.000434
Origination:
From: [CONTRACT_HASH]
Credit: ꜩ1000
Script:
{ parameter (option key_hash) ;
storage unit ;
code { UNPAIR ; SET_DELEGATE ; DIP { NIL operation } ; CONS ; PAIR } }
Initial storage: Unit
No delegate for this contract
This origination was successfully applied
Originated contracts:
[CONTRACT_HASH]
Storage size: 51 bytes
Paid storage size diff: 51 bytes
Consumed gas: 1411.719
Balance updates:
[CONTRACT_HASH] ... -ꜩ0.01275
storage fees ........................... +ꜩ0.01275
[CONTRACT_HASH] ... -ꜩ0.06425
storage fees ........................... +ꜩ0.06425
[CONTRACT_HASH] ... -ꜩ1000
[CONTRACT_HASH] ... +ꜩ1000
New contract [CONTRACT_HASH] originated.
Contract memorized as set_delegate.
Injected block at minimal timestamp
Injected block at minimal timestamp
none
Node is bootstrapped.
Estimated gas: 3115.224 units (will add 100 for safety)
Estimated storage: no bytes added
Operation successfully injected in the node.
Operation hash is '[BLOCK_HASH]'
NOT waiting for the operation to be included.
Use command
octez-client wait for [BLOCK_HASH] to be included --confirmations 1 --branch [BLOCK_HASH]
and/or an external block explorer to make sure that it has been included.
This sequence of operations was run:
Manager signed operations:
From: [CONTRACT_HASH]
Fee to the baker: ꜩ0.000618
Expected counter: [EXPECTED_COUNTER]
Gas limit: 3216
Storage limit: 0 bytes
Balance updates:
[CONTRACT_HASH] ... -ꜩ0.000618
payload fees(the block proposer) ....... +ꜩ0.000618
Transaction:
Amount: ꜩ0
From: [CONTRACT_HASH]
To: [CONTRACT_HASH]
Parameter: (Some "[CONTRACT_HASH]")
This transaction was successfully applied
Updated storage: Unit
Storage size: 51 bytes
Consumed gas: 2115.224
Internal operations:
Internal Delegation:
Contract: [CONTRACT_HASH]
To: [CONTRACT_HASH]
This delegation was successfully applied
Consumed gas: 1000
Injected block at minimal timestamp
[CONTRACT_HASH] (known as bootstrap5)
Node is bootstrapped.
Estimated gas: 2202.888 units (will add 100 for safety)
Estimated storage: no bytes added
Operation successfully injected in the node.
Operation hash is '[BLOCK_HASH]'
NOT waiting for the operation to be included.
Use command
octez-client wait for [BLOCK_HASH] to be included --confirmations 1 --branch [BLOCK_HASH]
and/or an external block explorer to make sure that it has been included.
This sequence of operations was run:
Manager signed operations:
From: [CONTRACT_HASH]
Fee to the baker: ꜩ0.000486
Expected counter: [EXPECTED_COUNTER]
Gas limit: 2303
Storage limit: 0 bytes
Balance updates:
[CONTRACT_HASH] ... -ꜩ0.000486
payload fees(the block proposer) ....... +ꜩ0.000486
Transaction:
Amount: ꜩ0
From: [CONTRACT_HASH]
To: [CONTRACT_HASH]
Parameter: None
This transaction was successfully applied
Updated storage: Unit
Storage size: 51 bytes
Consumed gas: 1202.888
Internal operations:
Internal Delegation:
Contract: [CONTRACT_HASH]
To: nobody
This delegation was successfully applied
Consumed gas: 1000
Injected block at minimal timestamp
none