Skip to content

Commit 098f37e

Browse files
committed
bump to release version
1 parent 2f246eb commit 098f37e

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ thiserror = { version = "1.0.64" }
2222
schemars = "0.8"
2323
cw-asset = { version = "4.0.0" }
2424

25-
abstract-app = { version = "0.25.0", git = "https://github.com/AbstractSDK/abstract", tag = "v0.25.0" }
26-
abstract-adapter = { version = "0.25.0", git = "https://github.com/AbstractSDK/abstract", tag = "v0.25.0" }
27-
abstract-standalone = { version = "0.25.0", git = "https://github.com/AbstractSDK/abstract", tag = "v0.25.0" }
28-
abstract-interface = { version = "0.25.0", git = "https://github.com/AbstractSDK/abstract", tag = "v0.25.0" }
29-
abstract-client = { version = "0.25.0", git = "https://github.com/AbstractSDK/abstract", tag = "v0.25.0" }
25+
abstract-app = { version = "0.26.0" }
26+
abstract-adapter = { version = "0.26.0" }
27+
abstract-standalone = { version = "0.26.0" }
28+
abstract-interface = { version = "0.26.0" }
29+
abstract-client = { version = "0.26.0" }
3030
cw-orch = { version = "0.25.1" }
3131

3232
lazy_static = "1.4.0"

contracts/{{adapter_name}}/src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use cosmwasm_std::{CosmosMsg, Deps, Uint128};
1717
/// Interact with your adapter in other modules.
1818
pub trait {{adapter_name | upper_camel_case}}Api: AccountIdentification + Dependencies + ModuleIdentification {
1919
/// Construct a new adapter interface.
20-
fn {{adapter_name | snake_case}}<'a>(&'a self, deps: Deps<'a>) -> {{adapter_name | upper_camel_case}}<Self> {
20+
fn {{adapter_name | snake_case}}<'a>(&'a self, deps: Deps<'a>) -> {{adapter_name | upper_camel_case}}<'a, Self> {
2121
{{adapter_name | upper_camel_case}} {
2222
base: self,
2323
deps,

contracts/{{adapter_name}}/src/handlers/execute.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ pub fn execute_handler(
2828
}
2929

3030
/// Update the configuration of the adapter
31-
fn update_config(deps: DepsMut, env: Env, _msg_info: MessageInfo, module: {{adapter_name | upper_camel_case}}) -> AdapterResult {
31+
fn update_config(deps: DepsMut, _env: Env, _msg_info: MessageInfo, module: {{adapter_name | upper_camel_case}}) -> AdapterResult {
3232
// Only admin(namespace owner) can change recipient address
3333
let namespace = module
34-
.module_registry(deps.as_ref(), &env)?
34+
.module_registry(deps.as_ref())?
3535
.query_namespace(Namespace::new({{project-name | shouty_snake_case}}_NAMESPACE)?)?;
3636

3737
// unwrap namespace, since it's unlikely to have unclaimed namespace as this adapter installed
@@ -46,8 +46,8 @@ fn update_config(deps: DepsMut, env: Env, _msg_info: MessageInfo, module: {{adap
4646
Ok(module.response("update_config"))
4747
}
4848

49-
fn set_status(deps: DepsMut, env: Env, module: {{adapter_name | upper_camel_case}}, status: String) -> AdapterResult {
50-
let account_registry = module.account_registry(deps.as_ref(), &env)?;
49+
fn set_status(deps: DepsMut, _env: Env, module: {{adapter_name | upper_camel_case}}, status: String) -> AdapterResult {
50+
let account_registry = module.account_registry(deps.as_ref())?;
5151

5252
let account_id = account_registry.account_id(module.target()?)?;
5353
STATUS.save(deps.storage, &account_id, &status)?;

contracts/{{standalone_name}}/src/contract.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn execute(
4444
{{standalone_name | upper_camel_case}}ExecuteMsg::Reset { count } => reset(deps, env, info, count, standalone),
4545
{{standalone_name | upper_camel_case}}ExecuteMsg::IbcCallback(msg) => {
4646
let binding = {{standalone_name | shouty_snake_case}};
47-
let ibc_client = binding.ibc_client(deps.as_ref(), &env);
47+
let ibc_client = binding.ibc_client(deps.as_ref());
4848

4949
let ibc_client_addr = ibc_client.module_address()?;
5050
if info.sender.ne(&ibc_client_addr) {

0 commit comments

Comments
 (0)