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

Commit

Permalink
handle deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Qiang Zhou <[email protected]>
  • Loading branch information
zhouqiang-cl committed Feb 2, 2024
1 parent 10c3535 commit 0dc21fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cairoVM/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ func NewDeployCool() (*core.InvokeTransaction, error) {

txCallData := account.FmtCallDataCairo2([]rpc.FunctionCall{FnCall})

nonce := new(felt.Felt).SetUint64(2)
tx := core.InvokeTransaction{
Nonce: nonce,
MaxFee: &felt.Zero,
Version: new(core.TransactionVersion).SetUint64(1),
ContractAddress: contractAddress,
EntryPointSelector: utils.GetSelectorFromNameFelt(deployContractMethod),
Expand Down

0 comments on commit 0dc21fa

Please sign in to comment.