From e9f8604fd875f33a58263758d1a3e1184703de40 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Tue, 12 Mar 2024 00:25:24 -0500 Subject: [PATCH] test: vote-by-committee generated snapshots --- .../snapshots/test-vote-by-committee.js.md | 83 ++++++++++++++++++ .../snapshots/test-vote-by-committee.js.snap | Bin 0 -> 956 bytes 2 files changed, 83 insertions(+) create mode 100644 contract/test/snapshots/test-vote-by-committee.js.md create mode 100644 contract/test/snapshots/test-vote-by-committee.js.snap diff --git a/contract/test/snapshots/test-vote-by-committee.js.md b/contract/test/snapshots/test-vote-by-committee.js.md new file mode 100644 index 00000000..0632d9ca --- /dev/null +++ b/contract/test/snapshots/test-vote-by-committee.js.md @@ -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: {}, + } diff --git a/contract/test/snapshots/test-vote-by-committee.js.snap b/contract/test/snapshots/test-vote-by-committee.js.snap new file mode 100644 index 0000000000000000000000000000000000000000..d8956b5e55ee1b9ae16699c744a430c00f46776a GIT binary patch literal 956 zcmV;t14H~lRzVhxSC^N%PE<4`Y$1P-NP4!?tr#0=s! z)f;B2LxanvW(+E3xvaS^AspI<&;~5(P1&XyRn5gNz?`#)!t$?tc^OV&nGV(&v`>)v z3b7Ay+z}Ll#s{Iv!E7QHc(+O%#nvo}#d{{P(hV_Ki^vB{GaMHi3JI+tIcCLHi1$;p zDz-x+ScDAPnbUPrBq?N#~_v=Za_SU zXEf2C(R7UtGH=ciccL!ECoz0}^yRx4_?%sISZY6NNA*$2j6+<4cpOJH5;tMWJBSp| zaR(sAcrH@l4&9N8?T-HD!A|29Vo&38gVPKZ_>7UqHZC78VWSxCfnLidRn4q8GxYSG zs2d6sY4rI1$<}j-WLfw=rzzTZRl4p_vk7>jt>&hkZS z9$#3N<7OeQ|D5edg`Hp?FOOI-h)m*1;acad_NI*Uyi7t*>-0t#G%La zNj}9^hD{dudQ0)tU#`YjKtsTHeWsICn2kDYm8Xz+7G6bav&tqPb_l3fFI6