@@ -7,46 +7,103 @@ yarn test
7
7
```
8
8
9
9
```
10
- $ yarn test
11
- yarn run v1.22.19
10
+ yarn run v1.22.21
12
11
$ ava --verbose
13
12
14
- ✔ bundle-source › bundleSource() bundles the contract for use with zoe (3.3s)
15
- ...
13
+ start proposal module evaluating
14
+ bundles/ add: assetContract from /home/connolly/projects/dapp-offer-up/contract/src/offer-up.contract.js
15
+ ✔ bundle-source › bundleSource() bundles the contract for use with zoe (1s)
16
+ ℹ 7fffb45de65f0c887401d4a5c5185ad87d41e3842d6eb2e10559a06c747358fe0dc5ef41fd4c04457c5e9bb27ed85e48ea1ff8bdeac524063b7743205f4817e6
17
+ ℹ Object @Alleged: BundleInstallation {}
18
+ bundles/ bundled 85 files in bundle-assetContract.js at 2024-01-23T02:30:57.437Z
19
+ startOfferUpContract()...
16
20
✔ contract › Install the contract
17
21
ℹ Object @Alleged: BundleInstallation {}
18
- ✔ contract › Start the contract (1.3s)
19
- ...
20
- ✔ contract › Alice trades: give some play money, want some game places (1.3s)
22
+ ✔ contract › Start the contract (901ms)
23
+ ℹ terms: {
24
+ tradePrice: {
25
+ brand: Object @Alleged: PlayMoney brand {},
26
+ value: 5n,
27
+ },
28
+ }
29
+ ℹ Object @Alleged: InstanceHandle {}
30
+ CoreEval script: started contract Object [Alleged: InstanceHandle] {}
31
+ ✔ contract › Alice trades: give some play money, want items (939ms)
21
32
ℹ Object @Alleged: InstanceHandle {}
22
33
ℹ Alice gives {
23
34
Price: {
24
35
brand: Object @Alleged: PlayMoney brand {},
25
36
value: 5n,
26
37
},
27
38
}
28
- ℹ Alice payout brand Object @Alleged: Place brand {}
39
+ ℹ Alice payout brand Object @Alleged: Item brand {}
29
40
ℹ Alice payout value Object @copyBag {
30
41
payload: [
31
42
[
32
- 'Park Place ',
43
+ 'scroll ',
33
44
1n,
34
45
],
35
46
[
36
- 'Boardwalk ',
47
+ 'map ',
37
48
1n,
38
49
],
39
50
],
40
51
}
41
- ✔ contract › Trade in IST rather than play money (8.5s)
42
- ...
43
- ✔ contract › use the code that will go on chain to start the contract (8.5s)
44
- ...
45
-
52
+ CoreEval script: share via agoricNames: Object [Alleged: Item brand] {}
53
+ offerUp (re)started
54
+ ----- OfferUp.2 2 trade give { Price: { brand: Object [Alleged: PlayMoney brand] {}, value: 5n } } want Object [copyBag] { payload: [ [ 'scroll', 1n ], [ 'map', 1n ] ] }
55
+ bundles/ add: centralSupply from /home/connolly/projects/dapp-offer-up/node_modules/@agoric/vats/src/centralSupply.js
56
+ bundles/ bundled 132 files in bundle-centralSupply.js at 2024-01-23T02:30:59.505Z
57
+ ----- OfferUp.2 2 trade give {
58
+ Price: { brand: Object [Alleged: ZDEFAULT brand] {}, value: 250000n }
59
+ } want Object [copyBag] { payload: [ [ 'scroll', 1n ], [ 'map', 1n ] ] }
60
+ ✔ contract › Trade in IST rather than play money (2.5s)
61
+ ℹ Alice gives {
62
+ Price: {
63
+ brand: Object @Alleged: ZDEFAULT brand {},
64
+ value: 250000n,
65
+ },
66
+ }
67
+ ℹ Alice payout brand Object @Alleged: Item brand {}
68
+ ℹ Alice payout value Object @copyBag {
69
+ payload: [
70
+ [
71
+ 'scroll',
72
+ 1n,
73
+ ],
74
+ [
75
+ 'map',
76
+ 1n,
77
+ ],
78
+ ],
79
+ }
80
+ ✔ contract › use the code that will go on chain to start the contract (2.5s)
81
+ ℹ Alice gives {
82
+ Price: {
83
+ brand: Object @Alleged: ZDEFAULT brand {},
84
+ value: 250000n,
85
+ },
86
+ }
87
+ ℹ Alice payout brand Object @Alleged: Item brand {}
88
+ ℹ Alice payout value Object @copyBag {
89
+ payload: [
90
+ [
91
+ 'scroll',
92
+ 1n,
93
+ ],
94
+ [
95
+ 'map',
96
+ 1n,
97
+ ],
98
+ ],
99
+ }
100
+ ----- OfferUp.2 2 trade give {
101
+ Price: { brand: Object [Alleged: ZDEFAULT brand] {}, value: 250000n }
102
+ } want Object [copyBag] { payload: [ [ 'scroll', 1n ], [ 'map', 1n ] ] }
46
103
─
47
104
48
105
6 tests passed
49
- Done in 12 .74s.
106
+ Done in 4 .74s.
50
107
```
51
108
52
109
Any ` Error#1: changed ... ` diagnostics are benign reports of updated files
0 commit comments