Skip to content

Commit

Permalink
fix lint, test
Browse files Browse the repository at this point in the history
  • Loading branch information
makramkd committed Jul 8, 2024
1 parent 4533ee8 commit 3a01e27
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/smartcontractkit/libocr/offchainreporting2/types"
"github.com/smartcontractkit/libocr/offchainreporting2plus/chains/evmutil"
ocr2plustypes "github.com/smartcontractkit/libocr/offchainreporting2plus/types"

commontypes "github.com/smartcontractkit/chainlink-common/pkg/types"

Expand Down Expand Up @@ -78,5 +79,5 @@ func (d MultichainConfigDigester) ConfigDigest(cc types.ContractConfig) (types.C
}

func (d MultichainConfigDigester) ConfigDigestPrefix() (types.ConfigDigestPrefix, error) {
return types.ConfigDigestPrefixEVM, nil
return ocr2plustypes.ConfigDigestPrefixEVMSimple, nil
}
18 changes: 18 additions & 0 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4017,6 +4017,7 @@ NonceAutoSync = true
NoNewHeadsThreshold = '3m0s'
RPCDefaultBatchSize = 250
RPCBlockQueryDelay = 1
FinalizedBlockOffset = 0

[Transactions]
ForwardersEnabled = false
Expand Down Expand Up @@ -4072,6 +4073,8 @@ SyncThreshold = 5
LeaseDuration = '0s'
NodeIsSyncingEnabled = false
FinalizedBlockPollInterval = '5s'
EnforceRepeatableRead = false
DeathDeclarationDelay = '10s'

[OCR]
ContractConfirmations = 4
Expand Down Expand Up @@ -5036,6 +5039,7 @@ NonceAutoSync = true
NoNewHeadsThreshold = '0s'
RPCDefaultBatchSize = 250
RPCBlockQueryDelay = 1
FinalizedBlockOffset = 0

[Transactions]
ForwardersEnabled = false
Expand Down Expand Up @@ -5091,6 +5095,8 @@ SyncThreshold = 5
LeaseDuration = '0s'
NodeIsSyncingEnabled = false
FinalizedBlockPollInterval = '5s'
EnforceRepeatableRead = false
DeathDeclarationDelay = '10s'

[OCR]
ContractConfirmations = 4
Expand Down Expand Up @@ -5405,6 +5411,7 @@ NonceAutoSync = true
NoNewHeadsThreshold = '3m0s'
RPCDefaultBatchSize = 250
RPCBlockQueryDelay = 1
FinalizedBlockOffset = 0

[Transactions]
ForwardersEnabled = false
Expand Down Expand Up @@ -5460,6 +5467,8 @@ SyncThreshold = 5
LeaseDuration = '0s'
NodeIsSyncingEnabled = false
FinalizedBlockPollInterval = '5s'
EnforceRepeatableRead = false
DeathDeclarationDelay = '10s'

[OCR]
ContractConfirmations = 4
Expand Down Expand Up @@ -6331,6 +6340,7 @@ NonceAutoSync = true
NoNewHeadsThreshold = '0s'
RPCDefaultBatchSize = 250
RPCBlockQueryDelay = 2
FinalizedBlockOffset = 0

[Transactions]
ForwardersEnabled = false
Expand Down Expand Up @@ -6385,6 +6395,8 @@ SyncThreshold = 5
LeaseDuration = '0s'
NodeIsSyncingEnabled = false
FinalizedBlockPollInterval = '5s'
EnforceRepeatableRead = false
DeathDeclarationDelay = '10s'

[OCR]
ContractConfirmations = 1
Expand Down Expand Up @@ -6606,6 +6618,7 @@ NonceAutoSync = true
NoNewHeadsThreshold = '3m0s'
RPCDefaultBatchSize = 250
RPCBlockQueryDelay = 1
FinalizedBlockOffset = 0

[Transactions]
ForwardersEnabled = false
Expand Down Expand Up @@ -6661,6 +6674,8 @@ SyncThreshold = 5
LeaseDuration = '0s'
NodeIsSyncingEnabled = false
FinalizedBlockPollInterval = '5s'
EnforceRepeatableRead = false
DeathDeclarationDelay = '10s'

[OCR]
ContractConfirmations = 4
Expand Down Expand Up @@ -7538,6 +7553,7 @@ NonceAutoSync = true
NoNewHeadsThreshold = '3m0s'
RPCDefaultBatchSize = 250
RPCBlockQueryDelay = 1
FinalizedBlockOffset = 0

[Transactions]
ForwardersEnabled = false
Expand Down Expand Up @@ -7593,6 +7609,8 @@ SyncThreshold = 5
LeaseDuration = '0s'
NodeIsSyncingEnabled = false
FinalizedBlockPollInterval = '5s'
EnforceRepeatableRead = false
DeathDeclarationDelay = '10s'

[OCR]
ContractConfirmations = 4
Expand Down

0 comments on commit 3a01e27

Please sign in to comment.