200ms -> 250ms
This commit is contained in:
parent
7e453722db
commit
29c7f6ed9a
|
@ -266,7 +266,7 @@ mod tests {
|
|||
#[serial]
|
||||
#[ignore]
|
||||
async fn can_fetch_contract_abi() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let _abi = client
|
||||
|
@ -281,7 +281,7 @@ mod tests {
|
|||
#[serial]
|
||||
#[ignore]
|
||||
async fn can_fetch_contract_source_code() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let _meta = client
|
||||
|
@ -296,7 +296,7 @@ mod tests {
|
|||
#[serial]
|
||||
#[ignore]
|
||||
async fn can_verify_contract() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
// TODO this needs further investigation
|
||||
|
||||
// https://etherscan.io/address/0x9e744c9115b74834c0f33f4097f40c02a9ac5c33#code
|
||||
|
|
|
@ -83,7 +83,7 @@ mod tests {
|
|||
#[tokio::test]
|
||||
#[serial]
|
||||
async fn gas_estimate_success() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let result = client.gas_estimate(2000000000u32.into()).await;
|
||||
|
@ -96,7 +96,7 @@ mod tests {
|
|||
#[tokio::test]
|
||||
#[serial]
|
||||
async fn gas_estimate_error() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let err = client.gas_estimate(7123189371829732819379218u128.into()).await.unwrap_err();
|
||||
|
@ -109,7 +109,7 @@ mod tests {
|
|||
#[tokio::test]
|
||||
#[serial]
|
||||
async fn gas_oracle_success() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let result = client.gas_oracle().await;
|
||||
|
|
|
@ -63,7 +63,7 @@ mod tests {
|
|||
#[tokio::test]
|
||||
#[serial]
|
||||
async fn check_contract_execution_status_success() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let status = client
|
||||
|
@ -80,7 +80,7 @@ mod tests {
|
|||
#[tokio::test]
|
||||
#[serial]
|
||||
async fn check_contract_execution_status_error() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let err = client
|
||||
|
@ -99,7 +99,7 @@ mod tests {
|
|||
#[tokio::test]
|
||||
#[serial]
|
||||
async fn check_transaction_receipt_status_success() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let success = client
|
||||
|
@ -116,7 +116,7 @@ mod tests {
|
|||
#[tokio::test]
|
||||
#[serial]
|
||||
async fn check_transaction_receipt_status_failed() {
|
||||
run_at_least_duration(Duration::from_millis(200), async {
|
||||
run_at_least_duration(Duration::from_millis(250), async {
|
||||
let client = Client::new_from_env(Chain::Mainnet).unwrap();
|
||||
|
||||
let err = client
|
||||
|
|
Loading…
Reference in New Issue