Skip to content

Commit

Permalink
update readme and add additional info message for exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Malcador committed Dec 30, 2020
1 parent fee9b0c commit 51db421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ tenderly export {{transaction_hash}}
| --forked-network | / | Optional name of the network which you are forking locally. Can be one of Mainnet, Goerli, Kovan, Ropsten, Rinkeby, xDai |
| --protocol | / | Specify the protocol used for the rpc node. By default `wss`, `https`, `ws`, `http` are tried in that order |
| --help | / | Help for export command |
| --force| false | Export the transaction regardless of gas mismatch|

#### Advanced usage

Expand Down
1 change: 1 addition & 0 deletions commands/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ var exportCmd = &cobra.Command{
tx, state, networkId, err := transactionWithState(hash, network)
if err != nil {
userError.LogErrorf("Unable to get transaction rerunning information: %s", err)
logrus.Info("Try exporting with --force to ignore some validation")
os.Exit(1)
}

Expand Down

0 comments on commit 51db421

Please sign in to comment.