From 0d43364cea01aa583e2f072c475db9eac888dd19 Mon Sep 17 00:00:00 2001 From: maxrobot Date: Thu, 29 Aug 2024 10:10:28 +0100 Subject: [PATCH] chore: pr comments fixed --- packages/injective-testing/src/test_tube/authz.rs | 2 +- packages/injective-testing/src/test_tube/exchange.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/injective-testing/src/test_tube/authz.rs b/packages/injective-testing/src/test_tube/authz.rs index 10df2c6d..c650cb5c 100644 --- a/packages/injective-testing/src/test_tube/authz.rs +++ b/packages/injective-testing/src/test_tube/authz.rs @@ -80,7 +80,7 @@ pub fn create_send_authorization(app: &InjectiveTestApp, granter: &SigningAccoun .unwrap(); } -pub fn execute_grid_authorizations(app: &InjectiveTestApp, granter: &SigningAccount, grantee: String, msgs: Vec) { +pub fn execute_generic_authorizations(app: &InjectiveTestApp, granter: &SigningAccount, grantee: String, msgs: Vec) { for msg in msgs { create_generic_authorization(app, granter, grantee.clone(), msg, None); } diff --git a/packages/injective-testing/src/test_tube/exchange.rs b/packages/injective-testing/src/test_tube/exchange.rs index 2c2b15bb..7f063cdb 100644 --- a/packages/injective-testing/src/test_tube/exchange.rs +++ b/packages/injective-testing/src/test_tube/exchange.rs @@ -39,6 +39,7 @@ pub fn add_exchange_admin(app: &InjectiveTestApp, validator: &SigningAccount, ad exchange_params.exchange_admins.push(admin_address); exchange_params.max_derivative_order_side_count = 300u32; + // NOTE: this could change int he future let governance_module_address = "inj10d07y265gmmuvt4z0w9aw880jnsr700jstypyt"; let mut buf = vec![];