Skip to content
This repository was archived by the owner on Jun 21, 2024. It is now read-only.

Pragma sol #1

Merged
merged 2 commits into from
Aug 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
move sol to contracts dir
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
  • Loading branch information
gregdhill committed Aug 4, 2020
commit 3bc05bbe3c8c6a553751b9f2c881b3dca53aff52
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.sol linguist-language=Solidity
4 changes: 2 additions & 2 deletions buidler.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config = {
optimizer: { enabled: true, runs: 500 }
},
paths: {
sources: './src',
sources: './contracts',
tests: './test',
},
typechain: {
Expand All @@ -42,7 +42,7 @@ const config = {
enabled: (COINMARKETCAP_API_KEY ? true : false),
coinmarketcap: COINMARKETCAP_API_KEY,
currency: "GBP",
src: "./src"
src: "./contracts"
},
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"@openzeppelin/contracts": "3.1.0",
"bitcoinjs-lib": "^5.1.7"
},
"files": [
"contracts",
"dist"
],
"devDependencies": {
"@nomiclabs/buidler": "^1.1.2",
"@nomiclabs/buidler-ethers": "^1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion test/gas.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe("Gas", () => {
relay = await deployContract(<Wallet>signers[0], RelayArtifact, [genesisHeader, genesisHeight]) as Relay;
let deployCost = (await relay.deployTransaction.wait(1)).gasUsed?.toNumber();
console.log(`Deploy: ${deployCost}`);
expect(deployCost).to.be.lt(1_900_000);
expect(deployCost).to.be.lt(2_000_000);

let result = await relay.submitBlockHeader(header1);
let updateCost = (await result.wait(1)).gasUsed?.toNumber();
Expand Down