Questions tagged [operation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to log start and end times of each transaction/block execution

In order to benchmark tranaction and block execution times, I want to log the start/end timestamps of each block and each transaction while baking, and also during validation. However this does not ...
0
votes
1answer
25 views

How is the opHash generated?

Could someone give a step-by-step approach of how to go from the operation inputs (e.g. sender, receiver, amount etc) to generating an opHash for an operation? Thanks
1
vote
1answer
62 views

Need help understanding smart contract method call of tzBTC

I need to be able to reconstruct history of transactions in tzBTC contract: https://better-call.dev/mainnet/KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn/operations If we filter operations by mint, we get two ...
1
vote
0answers
34 views

What is a manager operation?

Transactions, originations, public key reveals, and delegations are "manager operations". According to Different types of operation in Tezos Block - Which one fee is spent, "manager ...
0
votes
2answers
64 views

Listen for operations of a deployed contract

Coming from an ethereum web3 background, I'm accustomed to listening for a contract's events to figure out when things happen in my contract and react accordingly in the application. I'm looking for ...
2
votes
1answer
55 views

Ledger Blake2b hash calculation

How is the “Ledger Blake2b hash” calculated by the tezos-client and the Ledger? I can calculate the other hashes, but unable to figure out the “Ledger Blake2b hash”: Raw Script-expression-ID-Hash: ...
6
votes
1answer
98 views

Updated fee constants in Delphi?

I am using the following formula and associated constants to calculate fees: https://tezos.gitlab.io/protocols/003_PsddFKi3.html#more-details-on-fees-and-cost-model Also referenced here: https://tezos....
1
vote
1answer
46 views

Test vectors for calculating operation hash

I am writing code to calculate operation hash from the raw hex and I would like some test vectors to verify my code. Where can I find that?
1
vote
1answer
59 views

Why won't transaction propagate to other nodes?

I've got a transaction where I've already signed bytes and am ready to inject the operation. If I inject it to my local node, I can see the txn in my nodes' mempool. But if I query another node, say ...
2
votes
0answers
56 views

Previously revealed manager key for contract

What this error Previously revealed manager key for contract <address> means? I tried to craft a delegation tx from a not-revealed address. Putting a reveal and a delegate operation in the same ...
3
votes
1answer
67 views

Switching from full mode to archive mode

I have a full node with the last checkpoint at block 1077249: $ ./tezos-client rpc get /chains/main/checkpoint { "block": { "level": 1077249, "proto": 6, "...
3
votes
1answer
117 views

Speeding up / Cancelling Transactions Stuck in Mempool

If I have a transaction stuck in mempool, how can I cancel the transaction or pay more to speed it up?
1
vote
1answer
48 views

Success response when injecting a transaction with outdated branch

Action: Publish a Operation through the Node RPC which references a branch/block that is older than allowed. Observed Behavior: Node returns Operation Id, Operation gets published to mempool ...
3
votes
1answer
70 views

What is an operation counter?

Counters are only mentioned briefly in the developer documentation. Furthermore each operation has a counter (explained in more detail later) that prevents replays so it is usually safe to re-emit ...
0
votes
1answer
27 views

Can I use balance_update at block to confirm account tezos change is valid?

In the return result of rpc /chains/main/blocks/321432, there are many balance_updates field, should I use this field to judge one address tezos banlance change? And how can I confirm this block is ...
4
votes
0answers
33 views

When do operations expire if not included?

I read something somewhere about how the branch you specify in the operation allows you to set a hard limit, where after 64 blocks have passed after that branch, then if the operation isnt there, its ...
2
votes
2answers
47 views

Rewards for Operations

Out of these Operations which operations affect the balance of an Account either by rewards or by any transaction? First four I know they incur a fee at least so that balance gets affected. Can any ...
1
vote
0answers
34 views

Transaction simulation with preapply fails while injection finish successfully

I'm trying to simulate an operation (transaction) before injecting it. The run_operation endpoint return: { status: 'applied', storage: { prim: 'Pair', args: [ [Object], [] ] }, big_map_diff: [...
4
votes
2answers
182 views

Operation cost for invoking smart contract

I would like to find out if the smart contract's code size/storage or an operation's parameters helps to derive to the cost. Is there a formula to calculate the cost of the operation to be invoking a ...
4
votes
1answer
218 views

Manager operation results: Applied | Backtracked | Failed | Skipped

Applied is self explanatory but the others really arent. The source code gives a bit of clues though; as file apply_results.mli says [Skipped] ones should always be at the tail, and after a single [...
1
vote
3answers
50 views

Operation has injection no error but is not included

My contract is here === === but not include == What's wrong! Please help me!
4
votes
1answer
152 views

How to estimate Baker and Storage fee with @taquito for a contract?

I have a simple smart-contract that holds user funds and that can be withdrawn by sending a signed message. However, I would like to offer the possibility for users to anticipate the fees they have ...
2
votes
1answer
94 views

What are the bounds / restrictions on the mempool?

While consulting documentation on the prevalidator, it describes portions of the mempool as bounded sets: For instance, in Alpha, contracts have counters, and operations with counters in the future ...
2
votes
2answers
69 views

Does Tezos have any on-chain signature verification algorithms implemented?

Does Tezos have any on-chain signature verification algorithms implemented? Could it verify ECDSA/secp256k1 for example?
0
votes
1answer
282 views

Operation injected to node, but not added to blockchain | Wallet counter error

I use my own babbylon node and previously i have added some wallet from tezos faucet and send some coins to my generated wallet with tezos-client: ./tezos-client transfer 8500 from test_w1 to ...
0
votes
1answer
105 views

Operation not included due to 0 fees, now counter is stuck

I've submitted a transaction following cryptium post https://www.reddit.com/r/tezos/comments/dlyev8/accounts_in_babylon/ tezos-client -A mainnet.cryptium.ch transfer xxx from tz1a to tz1b --fee 0 --...
3
votes
2answers
107 views

Why are my transactions not processing?

I'm trying to use TRD to make rewards payments. I can see that everything is forged, signed, and pre-apply'd correctly. Then injected correctly. I get an op-hash. But then nothing. Op never shows up. ...
2
votes
0answers
33 views

What means this error?

When I want validate my offline generated transaction using RPC call /chains/main/blocks/head/helpers/scripts/run_operation. I got error: Json_encoding.Unexpected_field(\"protocol\") My generated ...
1
vote
1answer
141 views

Decode a Tezos hexadecimal operation

I ran tezos-baker with the -l option to see all the RPC calls it makes to construct a block. Eventually, I see this: >>>>220: http://10.10.10.203:20001/keys/...
1
vote
1answer
26 views

Query operations by id on ROLLING History Mode Node

Is it possible to query operations by id using node synced in ROLLING History Mode?
1
vote
1answer
98 views

How to originate a smart contract with Taquito

How can I access my contract after originating it using taquito? If I use taquito like this. Tezos.contract.originate({...contractOptions}) How can I access my new originated address and start using ...
1
vote
1answer
43 views

Sometimes returning errors when looking for block transactions

tezos-client rpc get /chains/main/blocks/BMGi65PWTKoUbcs5hVm83LciAznJSQsKTrRLZ7HiLBNnoxgsJAs/operations result: Did not find service: GET http://localhost:8732/describe/chains/main/blocks/...
1
vote
1answer
240 views

How to get hash of operation without injecting in chain

Can I get txn hash without injecting operation in block chain? After injecting I will get same txn hash?
1
vote
1answer
69 views

Why are some blocks not finding operations?

"http://localhost:8732/chains/main/blocks/BL8uS3sAr7UgtNryr4oyY9dJv4Nbds36UzvWbY6HRLvG1EiwoLA/operations" "http://localhost:8732/chains/main/blocks/BLFFLhrVqdTw1HCagqKBbuAoSFQ8dZwyJgWqNCWgFvisbr8h8ff/...
4
votes
1answer
115 views

Operation bytes parsing

I am trying to query the RPC parse operation method and I found another question about it. But I can't figure out why operation bytes with the same data are different (58 vs 90 bytes), moreover: Query:...
3
votes
1answer
71 views

Where is the reward operation for athens?

Athens amendment proposal was succesfully integrated as proto004 into the mainnet at level 458753. The first mined block can be seen here https://api6.tzscan.io//v3/block/...
5
votes
1answer
98 views

Why Operations have extra money transaction that are not included in balance calculation?

I found that some operations have more money transfers that are actually included in the explorer, can somebody explain why? This operation for example have the following JSON: { "protocol": "...
9
votes
1answer
253 views

How to use rpc parse operations endpoint

I am trying to query the RPC parse operation endpoint The RPC documentation only states that this endpoint Parse operations and I can't seem to find example of how to use it on the web. What I am ...
3
votes
1answer
86 views

Contract - purpose of returned internal operations?

I keep seeing contract internal operations being returned empty (stack - 'NIL operation;') in the example Tezos Michelson contracts. What is the purpose of the internal operations? Also, are there ...
6
votes
1answer
165 views

What are all of the operation types supported in Tezos?

Is there a way to query for a complete list of operation types that are supported in Tezos?
4
votes
2answers
87 views

Signed bytes and encodedSignature explanation?

Im haven't been able to find an explanation of these to parameters that several libraries use when signing the operation: SignedBytes = forgedOpGroup.ToString() + "...
7
votes
1answer
43 views

Can I add metadata to a transfer operation?

is it possible to add a unique identifier to a transfer operation? We want to be able to better track payments to our delegators. Thanks
3
votes
1answer
29 views

Local operations vs remote operation

Are local operations (one's received from local client) treated differently from remote operations (one's received from peer) during mempool management? Are they given higher priority are included ...
4
votes
1answer
83 views

Ballot RPC message

How are the last 3 fields (period, proposal, ballot) interpreted in the Ballot message? How is the vote encoded into the last byte?
4
votes
1answer
505 views

Transaction Failing With: proto.003-PsddFKi3.storage_exhausted.operation

I am trying to send from an account that I activated from the Alphanet faucet (tz1htPf3VPXrHBTX1E7y3tBteib6hA9Teosj) to an account that I created myself using generateKeys(mnemonic, password) (...
3
votes
1answer
50 views

Where is the protocol change proposal injected?

Currently, we have two protocol change proposals (Athens) for voting purposes. I'm searching for the operation(s) that protocol changes proposals were injected on and am curious of the contents of the ...
5
votes
1answer
296 views

Inject Signed Operation Fails With Unrevealed_Key Error

I've learned a lot today, and I couldn't have gotten this far so quickly without this StackExchange. I've almost got sending worked out, but I can't for the life of me figure out why this is failing ...
2
votes
1answer
31 views

Sotez Forge Method Returns “Type Error: Expected String”

I haven't been able to find example usage of some of the methods available in Sotez, so I've been looking at other implementations and learning as I go. I am currently working on forging a transaction ...
4
votes
1answer
87 views

Is it possible to have a transaction operation in any operation's “contents”?

This questions is about the contents of an operation in the API responses from the node. I'm trying to identify all transactions in a given operation. Should I always scan for transactions in every ...
9
votes
1answer
249 views

How counter grows

I've seen counters on some accounts. They've only made a few transactions, but counters are very big. What is the initial value of counter? How much will counter grow after I send a transaction?