@@ -794,7 +794,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
794
794
vm.roll (1234 );
795
795
vm.deal (user1, fee);
796
796
vm.startPrank (user1);
797
- vm.expectEmit (false , false , false , true , address (random));
797
+ vm.expectEmit (true , true , true , true , address (random));
798
798
emit RequestedWithCallback (
799
799
provider1,
800
800
user1,
@@ -819,7 +819,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
819
819
isRequestWithCallback: true
820
820
})
821
821
);
822
- vm.expectEmit (false , false , false , true , address (random));
822
+ vm.expectEmit (true , true , true , true , address (random));
823
823
emit EntropyEventsV2.Requested (
824
824
provider1,
825
825
user1,
@@ -866,7 +866,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
866
866
assignedSequenceNumber
867
867
);
868
868
869
- vm.expectEmit (false , false , false , true , address (random));
869
+ vm.expectEmit (true , true , true , true , address (random));
870
870
emit RevealedWithCallback (
871
871
EntropyStructConverter.toV1Request (req),
872
872
userRandomNumber,
@@ -877,7 +877,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
877
877
0
878
878
)
879
879
);
880
- vm.expectEmit (false , false , false , true , address (random));
880
+ vm.expectEmit (true , true , true , true , address (random));
881
881
emit EntropyEventsV2.Revealed (
882
882
provider1,
883
883
req.requester,
@@ -933,7 +933,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
933
933
assignedSequenceNumber
934
934
);
935
935
936
- vm.expectEmit (false , false , false , true , address (random));
936
+ vm.expectEmit (true , true , true , true , address (random));
937
937
emit RevealedWithCallback (
938
938
EntropyStructConverter.toV1Request (req),
939
939
userRandomNumber,
@@ -944,7 +944,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
944
944
0
945
945
)
946
946
);
947
- vm.expectEmit (false , false , false , true , address (random));
947
+ vm.expectEmit (true , true , true , true , address (random));
948
948
emit EntropyEventsV2.Revealed (
949
949
provider1,
950
950
req.requester,
@@ -1030,7 +1030,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1030
1030
// Verify the gas limit was set correctly
1031
1031
assertEq (req.gasLimit10k, 10 );
1032
1032
1033
- vm.expectEmit (false , false , false , true , address (random));
1033
+ vm.expectEmit (true , true , true , true , address (random));
1034
1034
emit RevealedWithCallback (
1035
1035
EntropyStructConverter.toV1Request (req),
1036
1036
userRandomNumber,
@@ -1041,7 +1041,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1041
1041
0
1042
1042
)
1043
1043
);
1044
- vm.expectEmit (false , false , false , true , address (random));
1044
+ vm.expectEmit (true , true , true , true , address (random));
1045
1045
emit EntropyEventsV2.Revealed (
1046
1046
provider1,
1047
1047
req.requester,
@@ -1099,7 +1099,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1099
1099
0x08c379a0 ,
1100
1100
"Callback failed "
1101
1101
);
1102
- vm.expectEmit (false , false , false , true , address (random));
1102
+ vm.expectEmit (true , true , true , true , address (random));
1103
1103
emit CallbackFailed (
1104
1104
provider1,
1105
1105
address (consumer),
@@ -1113,7 +1113,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1113
1113
),
1114
1114
revertReason
1115
1115
);
1116
- vm.expectEmit (false , false , false , true , address (random));
1116
+ vm.expectEmit (true , true , true , true , address (random));
1117
1117
emit EntropyEventsV2.Revealed (
1118
1118
provider1,
1119
1119
address (consumer),
@@ -1167,7 +1167,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1167
1167
1168
1168
// If the callback starts succeeding, we can invoke it and it emits the usual RevealedWithCallback event.
1169
1169
consumer.setReverts (false );
1170
- vm.expectEmit (false , false , false , true , address (random));
1170
+ vm.expectEmit (true , true , true , true , address (random));
1171
1171
emit RevealedWithCallback (
1172
1172
EntropyStructConverter.toV1Request (reqAfterFailure),
1173
1173
userRandomNumber,
@@ -1178,7 +1178,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1178
1178
0
1179
1179
)
1180
1180
);
1181
- vm.expectEmit (false , false , false , true , address (random));
1181
+ vm.expectEmit (true , true , true , true , address (random));
1182
1182
emit EntropyEventsV2.Revealed (
1183
1183
provider1,
1184
1184
reqAfterFailure.requester,
@@ -1243,7 +1243,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1243
1243
1244
1244
// If called with enough gas, the transaction should succeed, but the callback should fail because
1245
1245
// it uses too much gas.
1246
- vm.expectEmit (false , false , false , true , address (random));
1246
+ vm.expectEmit (true , true , true , true , address (random));
1247
1247
emit CallbackFailed (
1248
1248
provider1,
1249
1249
address (consumer),
@@ -1258,7 +1258,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1258
1258
// out-of-gas reverts have an empty bytes array as the return value.
1259
1259
""
1260
1260
);
1261
- vm.expectEmit (false , false , false , true , address (random));
1261
+ vm.expectEmit (true , true , true , true , address (random));
1262
1262
emit EntropyEventsV2.Revealed (
1263
1263
provider1,
1264
1264
address (consumer),
@@ -1311,7 +1311,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1311
1311
);
1312
1312
1313
1313
// Calling without a gas limit should succeed
1314
- vm.expectEmit (false , false , false , true , address (random));
1314
+ vm.expectEmit (true , true , true , true , address (random));
1315
1315
emit RevealedWithCallback (
1316
1316
EntropyStructConverter.toV1Request (reqAfterFailure),
1317
1317
userRandomNumber,
@@ -1322,7 +1322,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1322
1322
0
1323
1323
)
1324
1324
);
1325
- vm.expectEmit (false , false , false , true , address (random));
1325
+ vm.expectEmit (true , true , true , true , address (random));
1326
1326
emit EntropyEventsV2.Revealed (
1327
1327
provider1,
1328
1328
address (consumer),
@@ -1576,9 +1576,9 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1576
1576
uint32 newGasLimit = 100000 ;
1577
1577
1578
1578
vm.prank (provider1);
1579
- vm.expectEmit (false , false , false , true , address (random));
1579
+ vm.expectEmit (true , true , true , true , address (random));
1580
1580
emit ProviderDefaultGasLimitUpdated (provider1, 0 , newGasLimit);
1581
- vm.expectEmit (false , false , false , true , address (random));
1581
+ vm.expectEmit (true , true , true , true , address (random));
1582
1582
emit EntropyEventsV2.ProviderDefaultGasLimitUpdated (
1583
1583
provider1,
1584
1584
0 ,
@@ -1787,7 +1787,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1787
1787
);
1788
1788
1789
1789
if (! expectSuccess) {
1790
- vm.expectEmit (false , false , false , true , address (random));
1790
+ vm.expectEmit (true , true , true , true , address (random));
1791
1791
emit CallbackFailed (
1792
1792
provider1,
1793
1793
address (consumer),
@@ -1802,7 +1802,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1802
1802
// out-of-gas reverts have an empty bytes array as the return value.
1803
1803
""
1804
1804
);
1805
- vm.expectEmit (false , false , false , true , address (random));
1805
+ vm.expectEmit (true , true , true , true , address (random));
1806
1806
emit EntropyEventsV2.Revealed (
1807
1807
provider1,
1808
1808
address (consumer),
@@ -1832,7 +1832,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1832
1832
EntropyStatusConstants.CALLBACK_FAILED
1833
1833
);
1834
1834
} else {
1835
- vm.expectEmit (false , false , false , true , address (random));
1835
+ vm.expectEmit (true , true , true , true , address (random));
1836
1836
emit RevealedWithCallback (
1837
1837
EntropyStructConverter.toV1Request (req),
1838
1838
userRandomNumber,
@@ -1843,7 +1843,7 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents, EntropyEventsV2 {
1843
1843
0
1844
1844
)
1845
1845
);
1846
- vm.expectEmit (false , false , false , true , address (random));
1846
+ vm.expectEmit (true , true , true , true , address (random));
1847
1847
emit EntropyEventsV2.Revealed (
1848
1848
provider1,
1849
1849
req.requester,
0 commit comments