Skip to content

Commit

Permalink
Update starkgate_function_reference.adoc: delete MIN_DEPLOYMENT_FEE
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolou86 committed Jan 16, 2024
1 parent 836c664 commit 5072a39
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -541,10 +541,6 @@ include::partial$snippet_enrollTokenBridge_note.adoc[]

The message payload needs to include funds to cover the Starknet (L2) fee for executing this transaction. You can include this payload using a standard wrapper such as web3.js.

For the minimum deployment fee, see link:https://github.com/starknet-io/starkgate-contracts/tree/v2.0/src/solidity/StarkgateConstants.sol#L22[`MIN_DEPLOYMENT_FEE`] in `StarkgateConstants.sol`.

[`MIN_DEPLOYMENT_FEE`] in `StarkgateConstants.sol` defines the minimum deployment fee. You can call this function to query the value.

[discrete]
==== Parameters

Expand Down Expand Up @@ -1006,10 +1002,6 @@ Contract: link:https://github.com/starknet-io/starkgate-contracts/tree/v2.0/src/

== L1 Constants

[horizontal,labelwidth=60,role=stripes-odd]
`uint256 public constant MIN_DEPLOYMENT_FEE`:: The minimum L1 fee required to send a message for deposit.
`uint256 public constant MIN_DEPLOYMENT_FEE`:: The minimum L1 fee required to send a message for the `deploy` transaction when enrolling a bridge.

[discrete]
=== See also

Expand Down

0 comments on commit 5072a39

Please sign in to comment.