Hot answers tagged

11 votes
Accepted

How to recover from "No space left on device" error?

The clue to the solution is in the part of the error saying that Validation of block BK... failed. It seems that it wasn't checking to see if there was any new free disk space available, it was just ...
Bake ꜩ for Me's user avatar
5 votes

Can't send my tezos around because of a "transaction failed" error

The error occurred because I needed to have some balance left to complete the transaction. It works fine after that.
JoeR's user avatar
  • 81
5 votes
Accepted

Error: "inconsistent hash". Workers crash and node is unable to connect to others

I was able to solve the issue myself. My node had rejected a seemingly valid block. I found this out by listing the rejected blocks of the node: tezos-admin-client list rejected blocks Output: ...
cryptodad's user avatar
  • 923
5 votes
Accepted

Generic baking error on main

The bond computation (% of tokens you need for a given number of rolls) is not exact, it depends on how many rolls are actually used for baking, and also of what happen on the network: the mean ...
lefessan's user avatar
  • 3,308
4 votes
Accepted

Error: Tezos_stdlib__Lwt_pipe.Closed for "ideal front node configuration"

It is nothing harmful, this message just makes visible a peer disconnection that was formerly only printed in debug mode, and will probably be only visible in debug mode in the future. And it's ...
Julien's user avatar
  • 338
4 votes
Accepted

Gas consumption in a chain of internal transfers

You cannot exceed the hard_gas_limit_per_operation = 400000. It will probably be increased in future protocols, though (see e.g. the "Athens" proposals). Internal transfers can use up a lot of gas. ...
Tom's user avatar
  • 2,506
3 votes
Accepted

404 error when calling some block ancestor

You can call the checkpoint rpc: http://mainnet.tezos.cryptium.ch:8732/chains/main/checkpoint which returns {"block": {"level":729089, "proto":5, "predecessor":"...
FFF's user avatar
  • 3,260
3 votes

Ledger Nano S Public Key Hash Changed

I found the answer to my own question the fix was to correct the import command as follows tezos-client import secret key <alias> "ledger://<animals>/ed25519" --force
sparrow's user avatar
  • 81
2 votes

Node won't start after importing chain history

This comment solved it Did you definitely do step 5? sudo cp -r ~/.tezos-node/context ~/.tezos-node/store /var/lib/kiln/data-dir/tezos-node/[chain-id]/ sudo chown -R kiln:kiln /var/lib/kiln/data-...
Anon75's user avatar
  • 81
2 votes

Constantly adding/dropping connections

First of all, setting connections limit to 10 is very low, you should either use the default value or use something nearer the default value which is 100. The less peer you have, the less chance you ...
Julien's user avatar
  • 338
2 votes

Node stops with 'Cannot open /dev/urandom' error

I used this hack because of the lack of hardware rng support. The problem did never appear afterwards. I already mentioned it in the Gitlab issue linked in the other answer and copied it here for ...
jdsika's user avatar
  • 777
2 votes

Why cant i call the contract entry point with type parameter througth eztz.contract.send

I fixed the problem just know, the thing here was that i didn't realize until i noticed how i was receiving the balance of the contract that i had to send the atomized value of the amount in tez. So ...
Eduardo Almeida's user avatar
2 votes
Accepted

How to interact with SmartPy BigMap in contract?

The first and main issue you have is that setup is a method of class sp.Contract that is broken when you redefine it in your contract. This should not be the case and must be fixed on the SmartPy side....
FFF's user avatar
  • 3,260
2 votes

Cant send my tezos due to proto.006-PsCARTHA.contract.cannot_pay_storage_fee

When you send a transaction to an empty address you have to pay 0.257 tez allocation fee and in your case that caused a problem: At the block 930365 your balance was 1.336011 tez. At the block 930366 ...
Groxan's user avatar
  • 2,701
2 votes
Accepted

How to attach data to an error

Currently, LIGO does not support failing with an arbitrary type like a tuple or record. However you can embed Michelson to fail with the tuple.
Eugene Mishura's user avatar
2 votes
Accepted

Contract error location

In order to limit storage consumption, the locations in the original .tz file that are used to originate contracts are not stored on chain. The only thing that can be reported from a runtime error is ...
Raphaël Cauderlier's user avatar
2 votes
Accepted

Tezos Frozen in Failed Transaction

First off, never risk more than you can afford. Secondly, your funds are not stuck. If you look at your address, https://tzstats.com/tz1WBKfsPLp94D7wscTRn8KFt9pBfEopdUYr, everything is still there. As ...
utdrmac's user avatar
  • 3,422
2 votes
Accepted

Smartpy Michelson errors only on deployment (inconsistent_annotations, inconsistent_types)

That was fixed in granadanet by this merge request: https://gitlab.com/tezos/tezos/-/merge_requests/2815 You need to add self.add_flag("initial-cast") in the contract constructor to solve ...
Rodrigo Quelhas's user avatar
2 votes
Accepted

error Type sp.TInt / sp.TNat mismatch

Doing math on nats casts them to an int. The value needs to be casted back to a nat after the subtraction: self.data.shop_items[item_to_purchase.key].amount = sp.as_nat(self.data.shop_items[...
JJJ's user avatar
  • 557
2 votes
Accepted

Does smartpy propagate exceptions?

SmartPy test interpreter already handles internal operations failures really well. Here is an example: https://smartpy.io/ide?cid=QmV3nwdkwHGXdJbWwV8LDgm3TPbC49Es7Wm6GufMeh8Pz2&k=...
Rodrigo Quelhas's user avatar
2 votes
Accepted

What's the meaning of the error proto.014-PtKathma.tez.subtraction_underflow?

At some moment during the application of the operation, an operation A - B on two mutez amounts is performed, but the result is negative. The function that did the subtraction then threw that error. ...
iguerNL's user avatar
  • 1,141
2 votes
Accepted

Error installing tezos-crypto

Because you are in an opam "switch" that uses an old version of the OCaml compiler (4.11.1), you are trying to install the most recent version of tezos-crypto compatible with this compiler ...
Pierre Boutillier's user avatar
2 votes
Accepted

octez on v16.1 fails to validate block BM9b59Z7Weyh (3272488)

Thanks for reporting this. You have discovered a bug of the Octez node preventing it to validate reorgs in single-process mode. We have reproduced the bug and we are working on a fix. In the meantime, ...
Raphaël Cauderlier's user avatar
1 vote
Accepted

Why is TRD failing the payouts?

Are you running the latest v9.0 version?
Babell's user avatar
  • 500
1 vote

How can I do string interpolation on smartpy?

def string_of_nat(params): c = sp.map({x : str(x) for x in range(0, 10)}) x = sp.local('x', params) res = sp.local('res', []) sp.if x.value == 0: res.value.push('0') sp....
M88ache's user avatar
  • 11
1 vote
Accepted

How can I do string interpolation on smartpy?

It is not possible to cast an int to a string in Michelson. I recommend you to have static error messages, such as: class Errors: SOME_ERROR = "SOME_ERROR" # some contract class Contract(...
Rodrigo Quelhas's user avatar
1 vote

Stuck transaction for more than 12 hours

Both transactions sent from your address have the same fee 0.01 tez that is not enough, taking into account the gas limit 50000. Try to set the fee 0.015 tez. If this doesn't help, it also can be a ...
Groxan's user avatar
  • 2,701
1 vote

stuck transaction error: Pre-validation error

Don't worry, your funds are safe. You need to wait a bit and then try again with a higher fee or lower gas_limit. Why did that happen? You sent a transaction with large gas_limit: 50000 (despite a ...
Groxan's user avatar
  • 2,701
1 vote

Galleon issue withdraw from KT1 to TZ1

A common cause of transfer errors from KT1 accounts is that there is not enough tez in the manager account to cover the fee.
CFW34683's user avatar
1 vote

Cant send my tezos due to proto.006-PsCARTHA.contract.cannot_pay_storage_fee

Which client are you using to send the transaction? In the failing transaction you did not include the origination burn. However it seems that in a subsequent transaction you did include the ...
adrian's user avatar
  • 1,009

Only top scored, non community-wiki answers of a minimum length are eligible