Skip to content

Commit 6f14dd5

Browse files
authored
return cached output for Solana (#2177)
1 parent e6aa095 commit 6f14dd5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

framework/.changeset/v0.10.32.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Return cached output for Solana

framework/components/blockchain/solana.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ func defaultSolana(in *Input) {
4444
}
4545

4646
func newSolana(in *Input) (*Output, error) {
47+
if in.Out != nil && in.Out.UseCache {
48+
return in.Out, nil
49+
}
4750
defaultSolana(in)
4851
ctx := context.Background()
4952

0 commit comments

Comments
 (0)