Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
fix: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Feb 21, 2023
1 parent 5043041 commit 8b4a65e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"start": "yarn build && node dist/index.js",
"build": "ncc build ./main.ts -o dist --minify",
"publish:local": "yarn build && npm pack && npm i -g bgd-labs-aave-tenderly-cli-0.0.10.tgz && rm bgd-labs-aave-tenderly-cli-0.0.10.tgz",
"publish:local": "yarn build && npm pack && npm i -g bgd-labs-aave-tenderly-cli-0.0.12.tgz && rm bgd-labs-aave-tenderly-cli-0.0.12.tgz",
"ci:publish": "yarn build && npm publish --access=public"
},
"repository": {
Expand Down Expand Up @@ -38,7 +38,7 @@
"reflect-metadata": "^0.1.13",
"ts-node": "^10.9.1",
"typescript": "^4.8.2",
"yargs": "^17.1.1-candidate.0",
"yargs": "^17.7.1",
"@types/yargs": "^17.0.12"
},
"dependencies": {}
Expand Down
2 changes: 2 additions & 0 deletions src/tenderly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ export async function createFork({
if (blockNumber) (forkingPoint as any).block_number = Number(blockNumber);
if (alias) (forkingPoint as any).alias = alias;

console.log(`Creating fork on ${projectUrl}/fork`)

// create the specified fork programmatically
const forkResponse = await axiosOnTenderly.post(
`${projectUrl}/fork`,
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1276,23 +1276,23 @@ y18n@^5.0.5:
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==

yargs-parser@^21.0.0:
yargs-parser@^21.1.1:
version "21.1.1"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==

yargs@^17.1.1-candidate.0:
version "17.6.0"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.0.tgz#e134900fc1f218bc230192bdec06a0a5f973e46c"
integrity sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==
yargs@^17.7.1:
version "17.7.1"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.1.tgz#34a77645201d1a8fc5213ace787c220eabbd0967"
integrity sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==
dependencies:
cliui "^8.0.1"
escalade "^3.1.1"
get-caller-file "^2.0.5"
require-directory "^2.1.1"
string-width "^4.2.3"
y18n "^5.0.5"
yargs-parser "^21.0.0"
yargs-parser "^21.1.1"

[email protected]:
version "3.1.1"
Expand Down

0 comments on commit 8b4a65e

Please sign in to comment.