difftreelog
fixup tests
in: master
3 files changed
tests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth67 const alice = privateKey('//Alice');67 const alice = privateKey('//Alice');686869 const owner = await createEthAccountWithBalance(api, web3);69 const owner = await createEthAccountWithBalance(api, web3);70 const caller = await createEthAccount(api);70 const caller = createEthAccount(web3);717172 const flipper = await deployFlipper(web3, owner);72 const flipper = await deployFlipper(web3, owner);737397 const alice = privateKey('//Alice');97 const alice = privateKey('//Alice');989899 const owner = await createEthAccountWithBalance(api, web3);99 const owner = await createEthAccountWithBalance(api, web3);100 const caller = await createEthAccount(api);100 const caller = createEthAccount(web3);101101102 const flipper = await deployFlipper(web3, owner);102 const flipper = await deployFlipper(web3, owner);103103tests/src/eth/util/contractHelpersAbi.jsondiffbeforeafterboth139 "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 {tests/src/eth/util/helpers.tsdiffbeforeafterboth22export const GAS_ARGS = {gas: 2500000};22export const GAS_ARGS = {gas: 2500000};232324export enum SponsoringMode {24export enum SponsoringMode {25 Disabled,25 Disabled = 0,26 Allowlisted,26 Allowlisted = 1,27 Generous,27 Generous = 2,28}28}292930let web3Connected = false;30let web3Connected = false;