Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #541

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft

test #541

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
6435646
test
0xnogo Feb 2, 2025
6f10a7a
some logs
0xnogo Feb 2, 2025
c6b8f8e
v0
0xnogo Feb 2, 2025
28dd06a
lint
0xnogo Feb 2, 2025
d8b98fb
rmn proxy
0xnogo Feb 2, 2025
e45482b
log rmnremote addy
0xnogo Feb 2, 2025
cb4b561
log both
0xnogo Feb 2, 2025
ba5faf2
more logging
0xnogo Feb 2, 2025
5c5e166
better logs
0xnogo Feb 2, 2025
16f7f7a
change type of reflection
0xnogo Feb 2, 2025
c1eec5c
use type
0xnogo Feb 2, 2025
1c5ddff
change to []byte
0xnogo Feb 2, 2025
88eede6
looogs
0xnogo Feb 3, 2025
3ce6659
add log on contract name
0xnogo Feb 3, 2025
09f1ba6
using reflect
0xnogo Feb 3, 2025
a5caa29
rmnRemoteAddressFromNormalCall
0xnogo Feb 3, 2025
566f732
check
0xnogo Feb 3, 2025
3997271
fix updateFromResults
0xnogo Feb 3, 2025
efd984e
rmnRemoteAddressFromBatch
0xnogo Feb 3, 2025
6a62921
commitLatestOCRConfig
0xnogo Feb 3, 2025
2079135
fix
0xnogo Feb 3, 2025
c0bd25d
use all offramp
0xnogo Feb 3, 2025
10a7431
rmnRemote
0xnogo Feb 3, 2025
6852807
fqstaticConfig
0xnogo Feb 3, 2025
2be6fdd
cache
0xnogo Feb 4, 2025
df7fb9d
fix
0xnogo Feb 4, 2025
fe6895d
usage cache
0xnogo Feb 4, 2025
e6b617f
x
0xnogo Feb 4, 2025
79950a9
logging
0xnogo Feb 4, 2025
41db63d
better logging
0xnogo Feb 4, 2025
6965395
DiscoverContracts
0xnogo Feb 4, 2025
9dc6857
LinkPriceUSD
0xnogo Feb 4, 2025
2f23e59
Merge branch 'main' into ng/test-logs
0xnogo Feb 4, 2025
5f4ea57
fix
0xnogo Feb 4, 2025
9d70ba9
Merge branch 'main' into ng/test-logs
0xnogo Feb 4, 2025
5dfe8d6
fix
0xnogo Feb 4, 2025
66b9b5d
lint
0xnogo Feb 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions commit/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"errors"
"fmt"
"time"

sel "github.com/smartcontractkit/chain-selectors"

Expand Down Expand Up @@ -217,6 +218,7 @@ func (p *PluginFactory) NewReportingPlugin(ctx context.Context, config ocr3types
p.ocrConfig.Config.ChainSelector,
p.ocrConfig.Config.OfframpAddress,
p.extraDataCodec,
readerpkg.WithCache(30*time.Second),
)

// The node supports the chain that the token prices are on.
Expand Down
2 changes: 2 additions & 0 deletions execute/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package execute
import (
"context"
"fmt"
"time"

sel "github.com/smartcontractkit/chain-selectors"

Expand Down Expand Up @@ -177,6 +178,7 @@ func (p PluginFactory) NewReportingPlugin(
p.ocrConfig.Config.ChainSelector,
p.ocrConfig.Config.OfframpAddress,
p.extraDataCodec,
readerpkg.WithCache(30*time.Second),
)

tokenDataObserver, err := tokendata.NewConfigBasedCompositeObservers(
Expand Down
57 changes: 57 additions & 0 deletions mocks/pkg/contractreader/extended.go

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

6 changes: 6 additions & 0 deletions pkg/contractreader/extended.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ type extendedContractReader struct {
mu *sync.RWMutex
}

// BatchGetLatestValuesGracefulResult is the result of ExtendedBatchGetLatestValuesGraceful.
type BatchGetLatestValuesGracefulResult struct {
Results types.BatchGetLatestValuesResult
SkippedNoBinds []string // List of contract names that were skipped due to no bindings
}

func NewExtendedContractReader(baseContractReader ContractReaderFacade) Extended {
// avoid double wrapping
if ecr, ok := baseContractReader.(Extended); ok {
Expand Down
Loading
Loading