Questions tagged [protocol]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

Simulate Operation with Unrevealed Key Protocol Kathmandu

I'm trying to check my system works fine with the new Kathmandu protocol, so I'm testing some features with the kathmandunet. When I'm trying to simulate an operation (using /chains/main/blocks/head/...
  • 23
1 vote
1 answer
69 views

Tezos-client: unknown protocol after Ithaca upgrade

I have installed tezos-client on MacOS via Home Brew. After Ithaca upgrade I am getting the following error message: Fatal error: unknown protocol version. I tried upgrading tezos-client by: 1)brew ...
  • 11
0 votes
1 answer
20 views

How to create and distribute a governance proposal?

Let's say I want to test some code changes I made in the Tezos node. What are the steps to create and distribute this as a governance proposal? Additionally, how can I activate these changes on a ...
  • 151
0 votes
1 answer
52 views

How do I setup and run a custom network for testing purposes?

I am working on a user level tutorial for ‘how to write and introduce a Tezos protocol’. I want to offer people a couple ways of testing it. One of those being running an isolated testnet and ...
0 votes
1 answer
35 views

How to add an invoice to protocol proposal

Can someone point me in the right direction here. I am guessing the invoice is somewhere in the Tezos git. Where is it and how should it be updated for a new proposal. Thanks
  • 13
0 votes
1 answer
47 views

What is the new Liquidity Baking sunset level in Hangzhou?

I'm aware from the release notes that the sunset period for Liquidity Baking was extended with Hangzhou. I'm trying to understand exactly how long it has been extended, and on exactly what block ...
0 votes
1 answer
37 views

What is `proof_of_work_nonce_size` used for?

I was looking at the protocol constants using: GET /chains/<chain_id>/blocks/<block_id>/context/constants and noticed these two fields: "proof_of_work_nonce_size": 8, "...
  • 639
1 vote
1 answer
82 views

How to prepare a Protocol Change Proposal?

I want to know what is the procedure for preparing a protocol proposal. From my understanding it goes like this. Take the current Protocol src and make the changes in .ml files. Use a script to ...
  • 13
0 votes
3 answers
82 views

Is there an equivalent of the Ethereum "selfdestruct" opcode in Tezos?

In Ethereum you can implement a selfdestruct opcode in a smart contract to remove its code from the blockchain and free up storage space. Is there an equivalent on Tezos ?
  • 103
1 vote
1 answer
48 views

Can't see 35% gas optimization on protocol 009

I looked around and could not see any example of known smart contract (FA1.2, FA2, etc) that is now using less gas then before Florence protocol.
  • 500
1 vote
1 answer
8 views

Is there any possible balance update for an account on a "proposals" operation type?

I am trying to capture any operation that has a balance change - curious about the proposals operation and if there is any possibility that a balance can be updated?
1 vote
2 answers
110 views

Active test networks

There are many test networks on Tezos. What are the active and soon to be active public ones? How do we participate? Are there accessible public nodes?
  • 3,220
0 votes
1 answer
48 views

What is the difference between edonet and edo2net?

The block explorer tzkt.io has both a edonet and an edo2net option. Are these two different blockchains and what is the difference between these two test nets?
2 votes
1 answer
44 views

What is the format of valid entrypoint names?

Are there any constraints on valid entrypoint names?
  • 2,348
1 vote
1 answer
133 views

Tezos-node and tezos client don't use same Edo protocol version

I have a problem with Edo protocol version. On my computer, I tried to install tezos-node and tezos-client from PPA, with OPAM and from gitlab sources. With these 3 ways, I always have the same ...
  • 35
1 vote
0 answers
100 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 ...
  • 885
0 votes
1 answer
46 views

node log - node.validator: fetching protocol PtEdo

Seeing the following warning in the node log node.validator: fetching protocol PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq node running PsDELPH1 what's the issue? thx
1 vote
1 answer
49 views

How are main net and test net blockchain state migrated to new protocols?

As far as I know protocol updates are made on main net about every 3 months. When this happens all balances, smart contracts, and smart contract state are preserved on main net. But how does it work ...
2 votes
2 answers
104 views

How to calculate KT1 addresses of the bootstrap_contracts

As we know, Tezos protocol activator accepts the bootstrap_contracts parameter to originate specified contracts when the blockchain is launched. For example, Tezos mainnet was launched with some "...
  • 2,427
2 votes
2 answers
368 views

Anticipated Delphi Switch

When is the Tezos mainnet expected to switch to Delphi? Is there anything that node owners should do in anticipation?
  • 3,220
2 votes
0 answers
69 views

What exactly happens at the end of a cycle?

The Tezos protocol does a lot of bookkeeping at the end of a cycle to manage its validator set. According to our own research and that of others we came up with a list of assumptions that suggest the ...
1 vote
1 answer
30 views

Difference made in various protocols

Can anyone briefly explain about "Protocol 003 vs Protocol 004 Athens vs Protocol 005 Babylon vs Protocol 006 Carthage" ?
1 vote
1 answer
31 views

What is the Genesis key's power after activation?

If somebody had the activator/genesis private key for mainnet (corresponding to edpkvVCdQtDJHPnkmfRZuuHWKzFetH9N9nGP8F7zkwM2BJpjbvAU1N https://gitlab.com/tezos/tezos/blob/master/src/proto_000_Ps9mPmXa/...
2 votes
2 answers
312 views

Is this the right way to activate protocol cathage?

./tezos/tezos-client -l --base-dir ./tmp --addr localhost --port 18731 --block genesis activate protocol PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb with fitness 1 and key activator and ...
1 vote
1 answer
112 views

Testnet node crashes when activating protocol

I managed to manually set up a testnet consisting of 2 nodes on different hosts. The nodes connect, and using tezos-client I can successfully import secret keys (import secret key bootstrap1 ${...
2 votes
2 answers
52 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
1 answer
95 views

Operations in a block

I have fetched the operations of a specific block and out of that have queris in one operation as shown below. { "protocol": "PsddFKi32cMJ2qPjf43Qv5GDWLDPZb3T3bF6fLKiF5HtvHNU7aP", ...
3 votes
2 answers
2k views

How to calculate price of gas

In Ethereum one can get the gas price using web3.eth.gasPrice. In Tezos, does any RPC provide the gas price, or is there a formula to calculate the gas price?
  • 53
1 vote
2 answers
451 views

Zero-fee transactions

Need so help to understand the below transaction : [ { "type": "transaction", "id": 279, "level": 26, "timestamp": "2018-06-30T18:07:27Z", "hash": "...
2 votes
1 answer
29 views

Block Heights at which important changes happened to the protocol

I've been exploring the json dumps of each block through ./tezos-client rpc get /chains/main/blocks/<bid> and wanted to know the block heights at which some important changes might have happened ...
  • 399
1 vote
0 answers
25 views

Total baking balance calculation (includes inactive bakers stake?)

Does the total baking balance of the Tezos network (for example currently 76.9%) include the delegated XTZ to an inactive/sleeping/closed/defunct delegation services? At which point will these be ...
  • 835
2 votes
2 answers
235 views

Block reward calculation in Babylon

There seems to be a bug in the block reward calculation in Babylon. For example, in block 664451 there were 26 endorsements. So the reward should be 16 * (0.8 + 0.2 * 26 / 32) = 15.4 XTZ (source). ...
  • 6,016
2 votes
1 answer
65 views

Recently annouced plan for the implementation of zk-snarks into Tezos -timing?

Apologies for this lay question but I would very much appreciate if anyone could kindly tell me (in plain English for lay people like me) the timeline for the implementation of zk-snarks into Tezos ...
  • 139
0 votes
1 answer
71 views

What causes the network to slowdown when a new protocol activates?

When Babylon activated there was a period of 30+ minutes where endorsements and bakes were very unstable and we ended up hitting some quite high priorities. I'm curious to know why this is the case ...
  • 1,349
7 votes
1 answer
1k views

What is the smallest monetary unit in Tezos?

What is the smallest monetary unit in Tezos, and where is it defined in the code?
  • 311
5 votes
2 answers
98 views

BABY5 vs. BABYM1? How does the network decide which is the "right" protocol?

The Tezos Docs say: Any node running the May release, in case of a successful promotion vote, will activate protocol 005_PsBABY5H, which contains a bug affecting bigmaps in smart contracts. ...
  • 2,638
2 votes
0 answers
59 views

Why does querying tezos-node for test chain return 404?

I am querying a mainnet tezos node for test chain data using the url specified in the following question: Can I use an RPC to switch the Tezos node to another protocol? Specifically "/chains/test/...
0 votes
1 answer
57 views

What is the procedure for testing a protocol upgrade?

How can we get example RPC data for a protocol upgrade, e.g. Babylon 2.0? How can we make transactions using the test protocol? If we have to deploy our own private network for testing, is there ...
  • 151
4 votes
2 answers
1k views

Maximum supply in tezos

1) Is there a way we can vote for a maximum supply in tezos ? 2) would that be a desireable thing from a tokenomics perspective ?
  • 6,016
8 votes
1 answer
1k views

What flavor of zksnark in tezos

I have read that Nomadic Labs is working on incorporating some flavor of zksnarks into tezos for future amendment proposal (presumably in 2019). Looking at the literature I see there are many flavors ...
  • 6,016
3 votes
1 answer
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/...
  • 6,016
3 votes
1 answer
78 views

Tokens on Tezos

I'm interested in creating a token, similar to an ERC20 token on Ethereum, on the Tezos network. If I see correctly, as of now there is no possibility to track tokens on any of the public block ...
  • 31
2 votes
1 answer
61 views

How should I prepare as a baker, for Athens A protocol activation?

Can someone provide a step-by-step guide to help bakers to be prepared for Athens A protocol activation? Do we need to upgrade Ledger baking software?
3 votes
1 answer
50 views

Confusing about the Mathematical representation in white paper

I'm confusing with the S^S. Does it mean S*S in set theory? I need a detailed explain.
2 votes
1 answer
53 views

Is the decimals can be change when protocol updating?

I am confusing when I'm reading the write paper because the decimals is actually 6 now.
2 votes
0 answers
73 views

How to calculate the total locked XTZ?

Using the TZscan.io Stats - Key Numbers dashboard, how can I calculate the total locked XTZ in the system? And shouldn't this be a KPI measure by itself? Since delegators can very easily move their ...
6 votes
1 answer
177 views

How to calculate a random seed?

For example, we have 126/128 nonces, revealed in cycle 99. /chains/main/blocks/409599/context/raw/json/cycle/98/nonces?depth=1 If I understand correctly, using these nonces we can calculate the ...
  • 2,427
3 votes
1 answer
59 views

Alphanet protocol synced with mainnet

If I test on the alphanet and everything works correctly, can I then safely assume that the same code / process will also work on the mainnet? The current Tezos protocol amendment voting process is ...
4 votes
1 answer
153 views

Node gives testnet error

rebooted my system and restarted the node. Now I'm getting the following error. Is this simply the node telling me that it's not able to run the new fork because I started it with the old (i.e. ...
  • 594
4 votes
2 answers
294 views

the tezos protocol and the problem of over-delegation

Why does the Tezos protocol allow for baker over-delegation? It is the Tezos protocol itself that has encoded the amount of XTZ that needs to be put up for baking and endorsements and the protocol ...
  • 1,123