Zilliqa / zq2

Zilliqa 2.0 code base
Apache License 2.0
9 stars 0 forks source link

Add zero account as source/sink of rewards/gas respectively #1407

Closed joseph-zilliqa closed 4 days ago

joseph-zilliqa commented 3 weeks ago

Add a zero account as seen in ZQ1 that will be the source of rewards, and sink of gas used in transactions. This will be useful for the GetTotalCoinSupply API endpoint.

DrZoltanFazekas commented 2 weeks ago

... and to ensure the supply has a hard cap of 21bn ZIL

rrw-zilliqa commented 2 weeks ago

I believe (please correct me @DrZoltanFazekas @JamesHinshelwood ) that this accounts should have address 0x0, not 0x ? (as per ZQ1) - asking because I'm not sure which APIs use 0x as null and which use 0x0 ...

JamesHinshelwood commented 2 weeks ago

Agreed @rrw-zilliqa - I've replaced null with zero.