Closed Ivansete-status closed 8 months ago
The cost of the transaction is measured in gas. Cost in $ of the transaction is measured multiplying the gas * gasPrice. The cost (in gas) is fixed and we have no control over gasPrice (subject to supply and demand), so nothing we can do here.
Note that in mainnet, tx fees are more stable than this.
It happened very regularly (Corey, Zoltán, a user (3dchemy | fam) ) that while registering (
./register_rln.sh
) the script shows the following error:In the above example, the user had
0,099216339720388750 SepoliaEth
but the tx cost shown was0,155814912264000000 SepoliaETH
.The user tried the registration twice, separated by ~one minute, and it was relatively expensive in both cases.
Then, I decided to send 1 SepoliaEth to the user and I was surprised by a warning stating that the network was highly loaded and the tx fees were high, but in this case, the tx fee for sending 1 SepoliaEth was just
0.00056962 SepoliaETH
or0.00073904 SepoliaETH
(almost 300 times cheaper than the registration cost .)Is there a way to make the registration cost lower as a regular transaction?