fix: skip 2930 tests in legacy mode / skip aws test if no id (#386)
* fix: skip 2930 tests in legacy mode * test: skip aws signer test if no key id is set
This commit is contained in:
parent
f78edfeabb
commit
7d9dfcb53c
|
@ -127,6 +127,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(feature = "legacy", ignore)]
|
||||
fn serde_eip2930_tx() {
|
||||
let access_list = vec![AccessListItem {
|
||||
address: Address::zero(),
|
||||
|
|
|
@ -301,7 +301,10 @@ mod tests {
|
|||
#[tokio::test]
|
||||
async fn it_signs_messages() {
|
||||
let chain_id = 1;
|
||||
let key_id = std::env::var("AWS_KEY_ID").expect("no key id");
|
||||
let key_id = match std::env::var("AWS_KEY_ID") {
|
||||
Ok(id) => id,
|
||||
_ => return,
|
||||
};
|
||||
setup_tracing();
|
||||
let client = env_client();
|
||||
let signer = AwsSigner::new(&client, key_id, chain_id).await.unwrap();
|
||||
|
|
Loading…
Reference in New Issue