Skip to content

Commit

Permalink
bit of a conundrum re implementing the counting check
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt committed Jun 4, 2024
1 parent 87b6857 commit ddfc2e1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions proto/dymension/rollapp/rollapp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ message Rollapp {
string channel_id = 8;
// frozen is a boolean that indicates if the rollapp is frozen.
bool frozen = 9;

// The total number of incoming ibc transfers to be fast tracked in the genesis transfer period
uint64 num_genesis_transfers = 10;
// The indexes of genesis transfers received thus far during the genesis transfer period
/*
TODO: what was I doing?
I was wondering how to implement this check without exposing an n2 attack
I guess I need to use map values where the keys are <rollappID/keyID/ix> and the values are empty but I'm
wondering how does that map to this proto and the export/import state funcs?
*/
repeated uint64 genesis_transfers_received = 11;
}

// Rollapp summary is a compact representation of Rollapp
Expand Down

0 comments on commit ddfc2e1

Please sign in to comment.