Skip to content

Commit

Permalink
feat: Add ChugSplash config parsing via Handlebars (ethereum-optimism…
Browse files Browse the repository at this point in the history
…#739)

* feat: Add ChugSplash config parsing with handlebars

* break out validation function

* fix: minor typo in config tests
  • Loading branch information
smartcontracts authored and ben-chain committed May 18, 2021
1 parent 07019db commit 188fefd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 23 deletions.
7 changes: 5 additions & 2 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@
"@ethersproject/abstract-provider": "^5.0.8",
"@ethersproject/abstract-signer": "^5.1.0",
"@ethersproject/contracts": "^5.0.5",
"@openzeppelin/contracts": "^3.3.0",
"@openzeppelin/contracts-upgradeable": "^3.3.0",
"@typechain/hardhat": "^1.0.1",
"ganache-core": "^2.13.2",
"glob": "^7.1.6",
"handlebars": "^4.7.7",
"semver": "^7.3.5"
"handlebars": "^4.7.7"
},
"devDependencies": {
"@codechecks/client": "0.1.10-beta",
Expand Down
1 change: 0 additions & 1 deletion packages/contracts/src/chugsplash/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as Handlebars from 'handlebars'
import { ethers } from 'ethers'

type SolidityVariable =
| boolean
| string
| number
| Array<SolidityVariable>
Expand Down
3 changes: 0 additions & 3 deletions packages/contracts/src/chugsplash/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export * from './actions'
export * from './config'
export * from './storage'
export * from './hardhat-tools'
17 changes: 0 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10305,23 +10305,6 @@ gtoken@^5.0.4:
google-p12-pem "^3.0.3"
jws "^4.0.0"

gulp-sourcemaps@^1.5.2:
version "1.12.1"
resolved "https://registry.yarnpkg.com/gulp-sourcemaps/-/gulp-sourcemaps-1.12.1.tgz#b437d1f3d980cf26e81184823718ce15ae6597b6"
integrity sha1-tDfR89mAzyboEYSCNxjOFa5ll7Y=
dependencies:
"@gulp-sourcemaps/map-sources" "1.X"
acorn "4.X"
convert-source-map "1.X"
css "2.X"
debug-fabulous "0.0.X"
detect-newline "2.X"
graceful-fs "4.X"
source-map "~0.6.0"
strip-bom "2.X"
through2 "2.X"
vinyl "1.X"

handlebars@^4.0.1, handlebars@^4.7.6, handlebars@^4.7.7:
version "4.7.7"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
Expand Down

0 comments on commit 188fefd

Please sign in to comment.