git.delta.rocks / unique-network / refs/commits / dd2a57fee382

difftreelog

fixup tests

Yaroslav Bolyukin2022-01-26parent: #a11cc83.patch.diff
in: master

3 files changed

modifiedtests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth
67 const alice = privateKey('//Alice');67 const alice = privateKey('//Alice');
6868
69 const owner = await createEthAccountWithBalance(api, web3);69 const owner = await createEthAccountWithBalance(api, web3);
70 const caller = await createEthAccount(api);70 const caller = createEthAccount(web3);
7171
72 const flipper = await deployFlipper(web3, owner);72 const flipper = await deployFlipper(web3, owner);
7373
97 const alice = privateKey('//Alice');97 const alice = privateKey('//Alice');
9898
99 const owner = await createEthAccountWithBalance(api, web3);99 const owner = await createEthAccountWithBalance(api, web3);
100 const caller = await createEthAccount(api);100 const caller = createEthAccount(web3);
101101
102 const flipper = await deployFlipper(web3, owner);102 const flipper = await deployFlipper(web3, owner);
103103
modifiedtests/src/eth/util/contractHelpersAbi.jsondiffbeforeafterboth
139 "stateMutability": "nonpayable",139 "stateMutability": "nonpayable",
140 "type": "function"140 "type": "function"
141 },141 },
142 {
143 "inputs": [
144 {
145 "internalType": "address",
146 "name": "target",
147 "type": "address"
148 },
149 {
150 "internalType": "uint8",
151 "name": "mode",
152 "type": "uint8"
153 }
154 ],
155 "name": "setSponsoringMode",
156 "outputs": [],
157 "stateMutability": "nonpayable",
158 "type": "function"
159 },
160 {
161 "inputs": [
162 {
163 "internalType": "address",
164 "name": "target",
165 "type": "address"
166 }
167 ],
168 "name": "sponsoringMode",
169 "outputs": [
170 {
171 "internalType": "uint8",
172 "name": "",
173 "type": "uint8"
174 }
175 ],
176 "stateMutability": "nonpayable",
177 "type": "function"
178 },
142 {179 {
143 "inputs": [180 "inputs": [
144 {181 {
modifiedtests/src/eth/util/helpers.tsdiffbeforeafterboth
22export const GAS_ARGS = {gas: 2500000};22export const GAS_ARGS = {gas: 2500000};
2323
24export enum SponsoringMode {24export enum SponsoringMode {
25 Disabled,25 Disabled = 0,
26 Allowlisted,26 Allowlisted = 1,
27 Generous,27 Generous = 2,
28}28}
2929
30let web3Connected = false;30let web3Connected = false;