Skip to content

Commit bd000dc

Browse files
committed
return node spec config in node outputs
1 parent 1994028 commit bd000dc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

framework/components/clnode/clnode.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ type NodeInput struct {
6565
type Output struct {
6666
UseCache bool `toml:"use_cache"`
6767
Node *NodeOut `toml:"node"`
68+
NodeInput *NodeInput `toml:"node_input"`
6869
PostgreSQL *postgres.Output `toml:"postgresql"`
6970
}
7071

@@ -95,6 +96,7 @@ func NewNodeWithDB(in *Input) (*Output, error) {
9596
}
9697
out := &Output{
9798
UseCache: true,
99+
NodeInput: in.Node,
98100
Node: nodeOut,
99101
PostgreSQL: pgOut,
100102
}
@@ -112,6 +114,7 @@ func NewNode(in *Input, pgOut *postgres.Output) (*Output, error) {
112114
}
113115
out := &Output{
114116
UseCache: true,
117+
NodeInput: in.Node,
115118
Node: nodeOut,
116119
PostgreSQL: pgOut,
117120
}

framework/examples/myproject/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ replace (
1111
require (
1212
github.com/block-vision/sui-go-sdk v1.0.6
1313
github.com/blocto/solana-go-sdk v1.30.0
14-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
14+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
1515
github.com/ethereum/go-ethereum v1.15.0
1616
github.com/go-resty/resty/v2 v2.16.3
1717
github.com/smartcontractkit/chainlink-testing-framework/framework v0.6.6

0 commit comments

Comments
 (0)