issues
search
tokamak-network
/
ton-staking-tally-contract
0
stars
0
forks
source link
Develop the 2nd scenario about the tokamak tally
#5
Closed
Zena-park
closed
3 months ago
Zena-park
commented
3 months ago
when a voter changes their delegation after delegated user voted
when a voter changes their delegation during voting
when a voter removes their delegation and vote themselves
Zena-park
commented
3 months ago
npx hardhat test test/z.2.scenario.ts
gas price: 10 gwei
Voting is based on the block snapshot with voting delay applied.
During voting, the block must already be after a voting delay, so changing the delegation during(after) voting has no impact.
Even when voting on your own, you delegate to yourself.
test code