Skip to content

Commit

Permalink
Tweak model generate new traces
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Nov 1, 2022
1 parent c75a588 commit c72cd64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/difference/core/model/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const UNDELEGATE_AMT_MIN = 1000;
const UNDELEGATE_AMT_MAX = 5000;
const MAX_NUM_PACKETS_FOR_DELIVER = 6;
const ENABLE_DOWNTIME = false;
const ENABLE_KEY_ASSIGNMENT = false;
const ENABLE_KEY_ASSIGNMENT = true;

const MODEL_INIT_STATE: ModelInitState = {
h: { provider: 0, consumer: 0 },
Expand Down
4 changes: 4 additions & 0 deletions tests/difference/core/model/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ function doAction(model: Model, action: Action): Consequence {
};
}
}
if (kind === 'KeyAssignment') {
// No op
return {};
}
throw 'Action kind not recognized';
}

Expand Down

0 comments on commit c72cd64

Please sign in to comment.