Skip to content

Commit

Permalink
Fix the gas test and commit the combined build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Apr 17, 2020
1 parent 5680717 commit e03d3fa
Show file tree
Hide file tree
Showing 7 changed files with 5,251 additions and 6,048 deletions.
11,227 changes: 5,215 additions & 6,012 deletions build/Combined-Json.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions build/ERC20.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions build/UQ112x112.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"evm": {
"bytecode": {
"linkReferences": {},
"object": "60556023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a72315820ad9fed179bd34cf0e9c3c4943ffbd69b29244112b105c85929fec1735f806ec064736f6c63430005100032",
"opcodes": "PUSH1 0x55 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH6 0x627A7A723158 KECCAK256 0xAD SWAP16 0xED OR SWAP12 0xD3 0x4C CREATE 0xE9 0xC3 0xC4 SWAP5 EXTCODEHASH 0xFB 0xD6 SWAP12 0x29 0x24 COINBASE SLT 0xB1 SDIV 0xC8 MSIZE 0x29 INVALID 0xC1 PUSH20 0x5F806EC064736F6C634300051000320000000000 ",
"sourceMap": "183:394:10:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24"
"object": "60556023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a7231582067b1bb8609b29e20c1a4ed0e62837118344363dec2d08e59ce508d82b759bd6064736f6c63430005100032",
"opcodes": "PUSH1 0x55 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH6 0x627A7A723158 KECCAK256 PUSH8 0xB1BB8609B29E20C1 LOG4 0xED 0xE PUSH3 0x837118 CALLVALUE NUMBER PUSH4 0xDEC2D08E MSIZE 0xCE POP DUP14 DUP3 0xB7 MSIZE 0xBD PUSH1 0x64 PUSH20 0x6F6C634300051000320000000000000000000000 ",
"sourceMap": "183:460:10:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24"
},
"deployedBytecode": {
"linkReferences": {},
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a72315820ad9fed179bd34cf0e9c3c4943ffbd69b29244112b105c85929fec1735f806ec064736f6c63430005100032",
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH6 0x627A7A723158 KECCAK256 0xAD SWAP16 0xED OR SWAP12 0xD3 0x4C CREATE 0xE9 0xC3 0xC4 SWAP5 EXTCODEHASH 0xFB 0xD6 SWAP12 0x29 0x24 COINBASE SLT 0xB1 SDIV 0xC8 MSIZE 0x29 INVALID 0xC1 PUSH20 0x5F806EC064736F6C634300051000320000000000 ",
"sourceMap": "183:394:10:-;;;;;;;;"
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a7231582067b1bb8609b29e20c1a4ed0e62837118344363dec2d08e59ce508d82b759bd6064736f6c63430005100032",
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH6 0x627A7A723158 KECCAK256 PUSH8 0xB1BB8609B29E20C1 LOG4 0xED 0xE PUSH3 0x837118 CALLVALUE NUMBER PUSH4 0xDEC2D08E MSIZE 0xCE POP DUP14 DUP3 0xB7 MSIZE 0xBD PUSH1 0x64 PUSH20 0x6F6C634300051000320000000000000000000000 ",
"sourceMap": "183:460:10:-;;;;;;;;"
}
},
"interface": [],
"bytecode": "60556023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a72315820ad9fed179bd34cf0e9c3c4943ffbd69b29244112b105c85929fec1735f806ec064736f6c63430005100032"
"bytecode": "60556023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a7231582067b1bb8609b29e20c1a4ed0e62837118344363dec2d08e59ce508d82b759bd6064736f6c63430005100032"
}
14 changes: 7 additions & 7 deletions build/UniswapV2ERC20.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions build/UniswapV2Factory.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions build/UniswapV2Pair.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/UniswapV2Pair.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ describe('UniswapV2Pair', () => {
await mineBlock(provider, (await provider.getBlock('latest')).timestamp + 1)
const tx = await pair.swap(expectedOutputAmount, 0, wallet.address, '0x', overrides)
const receipt = await tx.wait()
expect(receipt.gasUsed).to.eq(73411)
expect(receipt.gasUsed).to.eq(73407)
})

it('burn', async () => {
Expand Down

0 comments on commit e03d3fa

Please sign in to comment.