Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 0 additions & 105 deletions .github/workflows/npm_publish.yml

This file was deleted.

11 changes: 5 additions & 6 deletions packages/ovm-toolchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
"build": "yarn run build:waffle && yarn run build:typescript",
"build:waffle": "waffle \"test/config/waffle-config.json\"",
"build:typescript": "tsc -p .",
"clean": "rimraf build/",
"test": "echo \"Skipping tests for ovm-toolchain\" # yarn run test:truffle && yarn run test:waffle-v2 && yarn run test:buidler",
"test:old": "yarn run test:truffle && yarn run test:waffle-v2 && yarn run test:buidler",
"clean": "rimraf build/ && rimraf test/temp/",
"test": "yarn run test:truffle && yarn run test:waffle-v2 && yarn run test:buidler",
"test:truffle": "truffle test \"test/test-truffle/erc20.spec.js\" --config \"test/config/truffle-config.js\"",
"test:waffle-v2": "waffle \"test/config/waffle-config.json\" && mocha --require source-map-support/register --require ts-node/register \"test/test-waffle-v2/**/*.spec.ts\" --timeout 10000",
"test:buidler": "buidler test --ovm",
Expand All @@ -55,7 +54,7 @@
"access": "public"
},
"devDependencies": {
"@eth-optimism/solc": "^0.5.16-alpha.2",
"@eth-optimism/solc": "^0.5.16-alpha.6",
"@nomiclabs/buidler": "^1.4.4",
"@nomiclabs/buidler-ethers": "^2.0.0",
"@nomiclabs/buidler-waffle": "^2.0.0",
Expand All @@ -74,9 +73,9 @@
"web3": "^1.2.11"
},
"dependencies": {
"@eth-optimism/contracts": "^0.0.2-alpha.7",
"@eth-optimism/contracts": "^0.0.2-alpha.9",
"@eth-optimism/core-utils": "^0.0.1-alpha.30",
"@eth-optimism/ethereumjs-vm": "4.2.0-alpha.0",
"@eth-optimism/ethereumjs-vm": "4.2.0-alpha.1",
"@nomiclabs/buidler": "^1.4.4",
"bn.js": "^5.1.3",
"child_process": "^1.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ internalTask(TASK_COMPILE_RUN_COMPILER).setAction(
console.log(`Using native solidity compiler`)
const output = execSync(`solc --standard-json`, {
input: JSON.stringify(input, undefined, 2),
maxBuffer: 4 * 1024 * 1024,
})
return JSON.parse(output.toString('utf8'))
} else {
Expand Down
5 changes: 4 additions & 1 deletion packages/provider/src/app/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ export class OptimismProvider extends JsonRpcProvider {
for (let i = 0; i < b.transactions.length; i++) {
b.transactions[i].l1BlockNumber = block.transactions[i].l1BlockNumber
if (b.transactions[i].l1BlockNumber != null) {
b.transactions[i].l1BlockNumber = parseInt(b.transactions[i].l1BlockNumber, 16)
b.transactions[i].l1BlockNumber = parseInt(
b.transactions[i].l1BlockNumber,
16
)
}
b.transactions[i].l1TxOrigin = block.transactions[i].l1TxOrigin
b.transactions[i].txType = block.transactions[i].txType
Expand Down
Loading