Questions tagged [operation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
736 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) (...
1
vote
1answer
289 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?
0
votes
1answer
52 views

How long should I expect to wait for an operation to be included? Seeing "Waiting for the operation to be included..."

let me preface this by saying that I'm using a public node. It's fully bootstrapped and up to date, and I followed these instructions to check. I'm trying to call the mintOrBurn function of this ...
0
votes
1answer
34 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 ...
0
votes
1answer
20 views

What are anonymous operations?

It is referenced in this answer about using rpc api GET ..//operations. The first list contains the endorsements. The second list contains all the operations regarding votes and proposals. The third ...
1
vote
1answer
57 views

What is an operation group?

In general what makes two or more operations part of an operation group? And as an example, why are these operations all in the same operation group? https://tzkt.io/...
0
votes
0answers
56 views

Contract call sender mix-up - what happened?

I'm trying to work out how this happened, and also to find out where to log it as a bug. There were simultaneous contract calls from 2 separate Hicetnunc users that ended up next to each other in ...
0
votes
1answer
64 views

What happens if there are two operations calling the same contract in the same block?

How is the order determined, or how would you tell from the blockchain what order they were applied in? And if the two operations are conflicting, such that only one can execute the contract ...
1
vote
0answers
26 views

How often do failed operations get included in the blockchain?

My understanding is that failed transaction like this should be checked by the node before injecting the operation, but either because of a bug in the node software, or because an operation that hadn'...
0
votes
1answer
371 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
0answers
14 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 ...
3
votes
2answers
114 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. ...
0
votes
1answer
33 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
66 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
48 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 ...
1
vote
2answers
112 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 ...
3
votes
1answer
225 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?
2
votes
1answer
79 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
108 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....
3
votes
1answer
95 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 ...
1
vote
1answer
54 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
70 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
77 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
135 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, "...
5
votes
2answers
233 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 ...
1
vote
1answer
57 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 ...
4
votes
1answer
186 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 ...
4
votes
0answers
36 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
49 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
38 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
1answer
313 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
53 views

Operation has injection no error but is not included

My contract is here === === but not include == What's wrong! Please help me!
2
votes
1answer
114 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
72 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
285 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 --...
2
votes
0answers
36 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
161 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/...
9
votes
1answer
298 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?
1
vote
1answer
28 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
120 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 ...
2
votes
1answer
67 views

Can inject operation but can't preapply operation, returns 400

I can inject an operation but can't preapply an operation, it returns 400. I checked the body's format and it's OK. Why does this rpc return 400? I can inject the operation.
1
vote
1answer
78 views

Why are some blocks not finding operations?

"http://localhost:8732/chains/main/blocks/BL8uS3sAr7UgtNryr4oyY9dJv4Nbds36UzvWbY6HRLvG1EiwoLA/operations" "http://localhost:8732/chains/main/blocks/BLFFLhrVqdTw1HCagqKBbuAoSFQ8dZwyJgWqNCWgFvisbr8h8ff/...
1
vote
1answer
44 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/...
4
votes
1answer
125 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:...
5
votes
1answer
114 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": "...
3
votes
1answer
72 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/...
9
votes
1answer
282 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
94 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
179 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
93 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() + "...