You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2025. It is now read-only.
Patch with minor adjustments from the chainlink repo
[PR](smartcontractkit/chainlink#15858).
Adjustments were caused by differences between repos. It's easier to
do&review them than to apply all the changes made to chainlink repo that
included MultiNode abstraction with 5k lines changed.
# "RPC node returned multiple missing blocks on query for block numbers [31592085 31592084] even though the WS subscription already sent us these blocks. It might help to increase EVM.RPCBlockQueryDelay (currently 1)"
Name: "LogIndex = MaxUint32 + 1 => returns an error",
47
+
TxIndex: 0,
48
+
LogIndex: math.MaxUint32+1,
49
+
ExpectedLogIndex: 0,
50
+
ExpectedError: errors.New("log's index 4294967296 of tx 0x0000000000000000000000000000000000000000000000000000000000000000 exceeds max supported value of 4294967295"),
51
+
},
52
+
{
53
+
Name: "TxIndex = 1 LogIndex = 0",
54
+
TxIndex: 1,
55
+
LogIndex: 0,
56
+
ExpectedLogIndex: math.MaxUint32+1,
57
+
ExpectedError: nil,
58
+
},
59
+
{
60
+
Name: "TxIndex = MaxUint32 LogIndex = MaxUint32",
61
+
TxIndex: math.MaxUint32,
62
+
LogIndex: math.MaxUint32,
63
+
ExpectedLogIndex: math.MaxUint64,
64
+
ExpectedError: nil,
65
+
},
66
+
{
67
+
Name: "TxIndex = MaxUint32 + 1 => returns an error",
68
+
TxIndex: math.MaxUint32+1,
69
+
LogIndex: 0,
70
+
ExpectedLogIndex: 0,
71
+
ExpectedError: errors.New("TxIndex of tx 0x0000000000000000000000000000000000000000000000000000000000000000 exceeds max supported value of 4294967295"),
0 commit comments