Skip to content

Commit

Permalink
removing wrapper comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yashnevatia committed Nov 26, 2024
1 parent 5808c3d commit e2a529d
Show file tree
Hide file tree
Showing 14 changed files with 98 additions and 98 deletions.
14 changes: 7 additions & 7 deletions core/gethwrappers/abigen.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ func DeployZkSync%s(auth *bind.TransactOpts, backend bind.ContractBackend, param
if !ok {
return common.Address{}, nil, nil, errors.New("backend is not an ethclient")
}
fmt.Println("Deploying zksync contract")
zksyncClient := zkSyncClient.NewClient(client.Client())
fmt.Println("getting wallet")
wallet := auth.Context.Value("wallet").(*zkSyncAccounts.Wallet)
fmt.Println("got wallet")
fmt.Println("getting bytes")
decodedBytes := common.FromHex(%sZkBin)
fmt.Println("deploying")
%sAbi, err := %sMetaData.GetAbi()
if err != nil {
return common.Address{}, nil, nil, err
Expand All @@ -88,7 +88,7 @@ func DeployZkSync%s(auth *bind.TransactOpts, backend bind.ContractBackend, param
if err != nil {
return common.Address{}, nil, nil, err
}
fmt.Println("hash of tx", hash)
receipt, err := zksyncClient.WaitMined(context.Background(), hash)
if err != nil {
return common.Address{}, nil, nil, err
Expand All @@ -97,7 +97,7 @@ func DeployZkSync%s(auth *bind.TransactOpts, backend bind.ContractBackend, param
if err != nil {
return common.Address{}, nil, nil, err
}
fmt.Println("tx hash", tx.Hash)
// this should generated.ConvertToTransaction
ethTx := ConvertToTransaction(*tx)
address := receipt.ContractAddress
Expand Down
14 changes: 7 additions & 7 deletions core/gethwrappers/ccip/generated/commit_store/commit_store.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions core/gethwrappers/ccip/generated/fee_quoter/fee_quoter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions core/gethwrappers/ccip/generated/link_token/link_token.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions core/gethwrappers/ccip/generated/rmn_contract/rmn_contract.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e2a529d

Please sign in to comment.