"Boost Slam" ... Potential Attack Vector?

Looking at the current GEN prediction state of @eric.arsenault’s social consensus proposal

… Seems there could be a “Boost Slam” attack vector, where the proposal is boosted right before closing. I’m not sure on the protocol details though.

Questions

  1. If the proposal is boosted, does that extend the clock 4 days, or does it keep the same proposal end time (assuming no “quiet ending” extension is triggered, or anything else)?
  2. If no extension on the proposal end time, that could be an edge case, where you “slam a boost” through in the last minute, not giving time for voters to react and downvote. No?

Edge cases are the new black.

1 Like

Great question, was also on my mind… thanks @perlmutterlabs

2 Likes

These are the kind of q’s where basically have to dig into the code, roll up the sleeves! (speaking for myself)

1 Like

@matan @orishim, where is the code that does the time/boost interaction, please?

2 Likes

Infra repo (see GenesisProtocol.sol)

1 Like