Skip to content

Commit

Permalink
test: vote-by-committee generated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Mar 12, 2024
1 parent c9585ea commit e9f8604
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions contract/test/snapshots/test-vote-by-committee.js.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Snapshot report for `test/test-vote-by-committee.js`

The actual snapshot is saved in `test-vote-by-committee.js.snap`.

Generated by [AVA](https://avajs.dev).

## provision Voter1 account

> voter offer: v0-join-committee
{
id: 'v0-join-committee',
invitationSpec: {
description: 'Voter0',
instance: Object @Alleged: InstanceHandle {},
source: 'purse',
},
proposal: {},
}

> voter offer: v0-accept-charter
{
id: 'v0-accept-charter',
invitationSpec: {
description: 'charter member invitation',
instance: Object @Alleged: InstanceHandle {},
source: 'purse',
},
proposal: {},
}

> voter offer: proposeToSetFee
{
id: 'proposeToSetFee',
invitationSpec: {
invitationMakerName: 'VoteOnParamChange',
previousOffer: 'v0-accept-charter',
source: 'continuing',
},
offerArgs: {
deadline: 2n,
instance: Object @Alleged: InstanceHandle {},
params: {
Fee: {
brand: Object @Alleged: ZDEFAULT brand {},
value: 500000n,
},
},
path: {
paramPath: {
key: 'governedParams',
},
},
},
proposal: {},
}

> voter offer: voteToSetFee
{
id: 'voteToSetFee',
invitationSpec: {
invitationArgs: [
[
{
changes: {
Fee: {
brand: Object @Alleged: ZDEFAULT brand {},
value: 500000n,
},
},
},
],
Object @Alleged: QuestionHandle {},
],
invitationMakerName: 'makeVoteInvitation',
previousOffer: 'v0-join-committee',
source: 'continuing',
},
proposal: {},
}
Binary file not shown.

0 comments on commit e9f8604

Please sign in to comment.