Skip to content

Commit

Permalink
DO NOT MERGE, just a demo
Browse files Browse the repository at this point in the history
  • Loading branch information
moul authored Sep 26, 2023
1 parent 934303e commit 8b4a96a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ func prepareTransaction(
cfg prepareCfg,
) *std.Tx {
// Construct the transaction
msg := bank.MsgSend{
msg := vm.MsgCall{

Check failure on line 23 in prepare.go

View workflow job for this annotation

GitHub Actions / Go Test / test

undefined: vm

Check failure on line 23 in prepare.go

View workflow job for this annotation

GitHub Actions / Go Linter / lint

undefined: vm (typecheck)

Check failure on line 23 in prepare.go

View workflow job for this annotation

GitHub Actions / Go Linter / lint

undefined: vm (typecheck)

Check failure on line 23 in prepare.go

View workflow job for this annotation

GitHub Actions / Go Linter / lint

undefined: vm (typecheck)

Check failure on line 23 in prepare.go

View workflow job for this annotation

GitHub Actions / Go Test / test-with-race

undefined: vm
FromAddress: cfg.fromAddress,
ToAddress: cfg.toAddress,
Amount: cfg.sendAmount,
PkgAddr: "gno.land/r/demo/chess/register",
Func: "RegisterPlayer",
Args: []string{"calleraddr", "token"},
Send: cfg.sendAmount,
}

tx := &std.Tx{
Expand Down

0 comments on commit 8b4a96a

Please sign in to comment.