@@ -12,8 +12,6 @@ contracts.
1212 * [ Login] ( #login )
1313 * [ Init] ( #init )
1414 * [ Push] ( #push )
15- * [ Export setup] ( #export-init )
16- * [ Export local transactions to Tenderly] ( #export )
1715 * [ Check for updates] ( #check-for-updates )
1816 * [ Version] ( #version )
1917 * [ Who am I?] ( #who-am-i )
@@ -175,8 +173,7 @@ If you are using Hardhat, take a look at [docs](https://docs.tenderly.co/monitor
175173
176174The ` push ` command is used to add your contracts to the [ Tenderly Dashboard] ( https://dashboard.tenderly.co ) .
177175
178- Note that the ` push ` command is used ** only** for adding contracts that are deployed to a public network. For local
179- networks see the [ export command] ( #export ) .
176+ Note that the ` push ` command is used ** only** for adding contracts that are deployed to a public network.
180177
181178```
182179tenderly push
@@ -202,104 +199,14 @@ projects: # running tenderly push will push the smart contracts to all of the pr
202199 my-cool-project :
203200 networks :
204201 - " 1" # mainnet
205- - " 42 " # kovan
202+ - " 5 " # goerli
206203 my-other-project :
207204 # if the networks property is not provided or is empty the project will be pushed to all of the migrated networks
208205 company-account/my-other-project :
209206 # if you want to push to a shared project provide the full project identifier
210207 # the identifier can be found in your Tenderly dashboard under the projects name
211208```
212209
213- ### Export init
214-
215- In order to use the [ tenderly export] ( #export ) command you need to define a configuration file
216- (which is described in more detail in the [ export command] ( #export ) advanced usage section).
217-
218- ```
219- tenderly export init
220- ```
221-
222- #### Command Flags
223-
224- | Flag | Default | Description |
225- | --- | --- | --- |
226- | --project | / | The project name used for network configuration |
227- | --rpc | / | Rpc server address (example: 127.0.0.1:8545) |
228- | --forked-network | / | In case you forked a public network (example: mainnet) |
229- | --help | / | Help for export init command |
230-
231- ### Export
232-
233- The ` export ` command can be used to access transaction debugging tooling available at https://dashboard.tenderly.co/ but
234- for local transactions.
235-
236- Use the
237- [ Transaction Overview] ( https://dashboard.tenderly.co/tx/main/0x70f28ce44bd58034ac18bec9eb1603350d50e020e4c2cf0b071837699ea1cdb1 )
238- ,
239- [ Human-Readable Stack-Traces] ( https://dashboard.tenderly.co/tx/main/0x30bc65375b2e2b56f97706bccba9b21bc8763cc81a0262351b3373ce49f60ea7 )
240- ,
241- [ Debugger] ( https://dashboard.tenderly.co/tx/main/0x70f28ce44bd58034ac18bec9eb1603350d50e020e4c2cf0b071837699ea1cdb1/debugger )
242- ,
243- [ Gas Profiler] ( https://dashboard.tenderly.co/tx/main/0x70f28ce44bd58034ac18bec9eb1603350d50e020e4c2cf0b071837699ea1cdb1/gas-usage )
244- ,
245- [ Decoded Events] ( https://dashboard.tenderly.co/tx/main/0x70f28ce44bd58034ac18bec9eb1603350d50e020e4c2cf0b071837699ea1cdb1/logs )
246- and [ State] ( https://dashboard.tenderly.co/tx/main/0x70f28ce44bd58034ac18bec9eb1603350d50e020e4c2cf0b071837699ea1cdb1/state-diff )
247- to boost your local development productivity.
248-
249- ```
250- tenderly export {{transaction_hash}}
251- ```
252-
253- #### Command Arguments
254-
255- | Name | Description |
256- | --- | --- |
257- | transaction hash | Hash of the local transaction to debug |
258-
259- #### Command Flags
260-
261- | Flag | Default | Description |
262- | --- | --- | --- |
263- | --export-network | / | The name of the exported network in the configuration file |
264- | --project | / | The project in which the exported transactions will be stored |
265- | --rpc | 127.0.0.1:8545 | The address and port of the local rpc node |
266- | --forked-network | / | Optional name of the network which you are forking locally. Can be one of Mainnet, Goerli, Kovan, Ropsten, Rinkeby, xDai |
267- | --protocol | / | Specify the protocol used for the rpc node. By default ` wss ` , ` https ` , ` ws ` , ` http ` are tried in that order |
268- | --help | / | Help for export command |
269- | --force| false | Export the transaction regardless of gas mismatch|
270-
271- #### Advanced usage
272-
273- If your local node has different blocks defined for hardforks or you want to generate the configuration file yourself,
274- you can find the example bellow:
275-
276- ``` yaml
277- exports : # running tenderly export will export local transaction to the provided project
278- my-network :
279- project_slug : my-cool-project
280- rpc_address : 127.0.0.1:8545
281- protocol : http
282- forked_network : mainnet
283- chain_config :
284- homestead_block : 0 # (default 0)
285- eip150_block : 0 # (default 0)
286- eip150_hash : 0x0 # (default 0x0)
287- eip155_block : 0 # (default 0)
288- eip158_block : 0 # (default 0)
289- byzantium_block : 0 # (default 0)
290- constantinople_block : 0 # (default 0)
291- petersburg_block : 0 # (default 0)
292- istanbul_block : 0 # (default 0)
293- berlin_block : 0 # (default 0)
294- london_block : 0 # (default 0)
295-
296- my-company-network :
297- project_slug : company-account/my-other-project
298- rpc_address : rpc.ethereum.company:8545
299- # if you want to export to a shared project provide the full project identifier
300- # the identifier can be found in your Tenderly dashboard under the projects name
301- ```
302-
303210### Verify
304211
305212The ` verify ` command uploads your smart contracts and verifies them on [ Tenderly] ( https://tenderly.co ) .
@@ -344,10 +251,6 @@ The `logout` command disconnects your local Tenderly CLI from your [Tenderly Das
344251tenderly logout
345252```
346253
347- ### Proxy Debugging
348-
349- The proxy command is deprecated in favor of the [ export] ( #export ) command.
350-
351254### Global Flags
352255
353256In addition to command specific flags, the following flags can be passed to any command
0 commit comments