@@ -9,7 +9,6 @@ use alloy::{
99// ============================================================================
1010
1111#[ tokio:: test]
12- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
1312async fn test_get_blob_base_fee_succeeds ( ) -> anyhow:: Result < ( ) > {
1413 let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
1514
@@ -26,11 +25,10 @@ async fn test_get_blob_base_fee_succeeds() -> anyhow::Result<()> {
2625// ============================================================================
2726
2827#[ tokio:: test]
29- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
3028async fn test_get_fee_history_succeeds ( ) -> anyhow:: Result < ( ) > {
31- let ( _anvil, robust, alloy_provider) = setup_anvil_with_blocks ( 100 ) . await ?;
29+ let ( _anvil, robust, alloy_provider) = setup_anvil_with_blocks ( 1 ) . await ?;
3230
33- let block_count = 10 ;
31+ let block_count = 1 ;
3432 let reward_percentiles = [ 25.0 , 50.0 , 75.0 ] ;
3533
3634 let robust_fee_history =
@@ -49,7 +47,6 @@ async fn test_get_fee_history_succeeds() -> anyhow::Result<()> {
4947// ============================================================================
5048
5149#[ tokio:: test]
52- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
5350async fn test_get_gas_price_succeeds ( ) -> anyhow:: Result < ( ) > {
5451 let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
5552
@@ -66,7 +63,6 @@ async fn test_get_gas_price_succeeds() -> anyhow::Result<()> {
6663// ============================================================================
6764
6865#[ tokio:: test]
69- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
7066async fn test_get_max_priority_fee_per_gas_succeeds ( ) -> anyhow:: Result < ( ) > {
7167 let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
7268
@@ -83,7 +79,6 @@ async fn test_get_max_priority_fee_per_gas_succeeds() -> anyhow::Result<()> {
8379// ============================================================================
8480
8581#[ tokio:: test]
86- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
8782async fn test_estimate_eip1559_fees_succeeds ( ) -> anyhow:: Result < ( ) > {
8883 let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
8984
@@ -100,9 +95,8 @@ async fn test_estimate_eip1559_fees_succeeds() -> anyhow::Result<()> {
10095// ============================================================================
10196
10297#[ tokio:: test]
103- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
10498async fn test_estimate_eip1559_fees_with_default_estimator ( ) -> anyhow:: Result < ( ) > {
105- let ( _anvil, robust, alloy_provider) = setup_anvil_with_blocks ( 100 ) . await ?;
99+ let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
106100
107101 let robust_gas = robust. estimate_eip1559_fees_with ( Eip1559Estimator :: default ( ) ) . await ?;
108102 let alloy_gas = alloy_provider. estimate_eip1559_fees_with ( Eip1559Estimator :: default ( ) ) . await ?;
@@ -113,9 +107,8 @@ async fn test_estimate_eip1559_fees_with_default_estimator() -> anyhow::Result<(
113107}
114108
115109#[ tokio:: test]
116- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
117110async fn test_estimate_eip1559_fees_with_custom_estimator ( ) -> anyhow:: Result < ( ) > {
118- let ( _anvil, robust, alloy_provider) = setup_anvil_with_blocks ( 100 ) . await ?;
111+ let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
119112
120113 let robust_gas = robust
121114 . estimate_eip1559_fees_with ( Eip1559Estimator :: new ( |base_fee, _rewards| Eip1559Estimation {
@@ -137,9 +130,8 @@ async fn test_estimate_eip1559_fees_with_custom_estimator() -> anyhow::Result<()
137130}
138131
139132#[ tokio:: test]
140- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
141133async fn test_estimate_eip1559_fees_with_zero_priority_fee ( ) -> anyhow:: Result < ( ) > {
142- let ( _anvil, robust, alloy_provider) = setup_anvil_with_blocks ( 50 ) . await ?;
134+ let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
143135
144136 let robust_gas = robust
145137 . estimate_eip1559_fees_with ( Eip1559Estimator :: new ( |base_fee, _rewards| Eip1559Estimation {
@@ -161,9 +153,8 @@ async fn test_estimate_eip1559_fees_with_zero_priority_fee() -> anyhow::Result<(
161153}
162154
163155#[ tokio:: test]
164- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
165156async fn test_estimate_eip1559_fees_with_high_priority_fee ( ) -> anyhow:: Result < ( ) > {
166- let ( _anvil, robust, alloy_provider) = setup_anvil_with_blocks ( 50 ) . await ?;
157+ let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
167158
168159 let robust_gas = robust
169160 . estimate_eip1559_fees_with ( Eip1559Estimator :: new ( |base_fee, _rewards| Eip1559Estimation {
@@ -185,9 +176,8 @@ async fn test_estimate_eip1559_fees_with_high_priority_fee() -> anyhow::Result<(
185176}
186177
187178#[ tokio:: test]
188- #[ ignore = "Flaky, see: https://github.com/OpenZeppelin/Robust-Provider/issues/59" ]
189179async fn test_estimate_eip1559_fees_with_reward_percentile_based ( ) -> anyhow:: Result < ( ) > {
190- let ( _anvil, robust, alloy_provider) = setup_anvil_with_blocks ( 100 ) . await ?;
180+ let ( _anvil, robust, alloy_provider) = setup_anvil ( ) . await ?;
191181
192182 let robust_gas = robust
193183 . estimate_eip1559_fees_with ( Eip1559Estimator :: new ( |base_fee, rewards| Eip1559Estimation {
0 commit comments