You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After Remove claim txs #2048, when start the l2 network with no l2 users, I want to know how can we get the l2 balance for claim tx for the very first time? Or do we need to have some balance in the l2 genesis block for claim txs?
Or is it just for upgrade, the node before already ran with free claim txs?
The text was updated successfully, but these errors were encountered:
Hello, good question. Since the claim txs are not free anymore, the process to have funds in L2 at the beginning is a bit more tricky but more secure on the other hand.
There are two scripts on the bridge repo that can help you. The first one just do a deposit in L1 (https://github.com/0xPolygonHermez/zkevm-bridge-service/tree/develop/test/scripts/deposit).
The second script will create the claim tx (https://github.com/0xPolygonHermez/zkevm-bridge-service/tree/develop/test/scripts/initialClaim). This claim tx will be included into a forcedBatch and the forcedBatch will be sent to L1. Doing it in this way the node is forced to process the free claim tx.
My recomendation is that the initial claim should be used to include funds in the autoclaim account and from there, all L2 claims should be done by the bridge service
After Remove claim txs #2048, when start the l2 network with no l2 users, I want to know how can we get the l2 balance for claim tx for the very first time? Or do we need to have some balance in the l2 genesis block for claim txs?
Or is it just for upgrade, the node before already ran with free claim txs?
The text was updated successfully, but these errors were encountered: