Skip to content

Commit

Permalink
update penumbra protos and fix tx.go, query.go with new apis
Browse files Browse the repository at this point in the history
  • Loading branch information
avahowell committed Jan 13, 2024
1 parent 4ad5ab2 commit b08bb5b
Show file tree
Hide file tree
Showing 14 changed files with 10,760 additions and 7,399 deletions.
1,545 changes: 1,370 additions & 175 deletions relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions relayer/chains/penumbra/core/app/v1alpha1/app.pb.go

Large diffs are not rendered by default.

475 changes: 42 additions & 433 deletions relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6,006 changes: 3,842 additions & 2,164 deletions relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go

Large diffs are not rendered by default.

1,203 changes: 844 additions & 359 deletions relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go

Large diffs are not rendered by default.

2,761 changes: 2,431 additions & 330 deletions relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

352 changes: 176 additions & 176 deletions relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go

Large diffs are not rendered by default.

263 changes: 45 additions & 218 deletions relayer/chains/penumbra/core/keys/v1alpha1/keys.pb.go

Large diffs are not rendered by default.

2,294 changes: 916 additions & 1,378 deletions relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go

Large diffs are not rendered by default.

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

17 changes: 11 additions & 6 deletions relayer/chains/penumbra/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ import (
"github.com/cosmos/relayer/v2/relayer/chains/cosmos"
penumbrafee "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1"
penumbraibctypes "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1"
penumbranum "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1"
penumbraasset "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1"
penumbratypes "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1"
penumbrardsa "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1"
penumbracrypto "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1"
"github.com/cosmos/relayer/v2/relayer/provider"
"go.uber.org/zap"
Expand Down Expand Up @@ -307,10 +308,14 @@ func (cc *PenumbraProvider) sendMessagesInner(ctx context.Context, msgs []provid
// will have a signing protocol for this.

txBody := penumbratypes.TransactionBody{
Actions: make([]*penumbratypes.Action, 0),
Fee: &penumbrafee.Fee{Amount: &penumbranum.Amount{Lo: 0, Hi: 0}},
MemoData: &penumbratypes.MemoData{},
TransactionParameters: &penumbratypes.TransactionParameters{},
Actions: make([]*penumbratypes.Action, 0),
TransactionParameters: &penumbratypes.TransactionParameters{
Fee: &penumbrafee.Fee{
Amount: &penumbraasset.Amount{Lo: 0, Hi: 0},
},
},
DetectionData: &penumbratypes.DetectionData{},
Memo: nil,
}

for _, msg := range PenumbraMsgs(msgs...) {
Expand All @@ -328,7 +333,7 @@ func (cc *PenumbraProvider) sendMessagesInner(ctx context.Context, msgs []provid

tx := &penumbratypes.Transaction{
Body: &txBody,
BindingSig: make([]byte, 64), // use the Cool Signature
BindingSig: &penumbrardsa.BindingSignature{Inner: make([]byte, 64)},
Anchor: anchor,
}

Expand Down
Loading

0 comments on commit b08bb5b

Please sign in to comment.