Skip to content

Commit

Permalink
Disable sudo test
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Aug 23, 2023
1 parent c0a0083 commit 6361b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/consumer/virtual-staking/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub struct VirtualStakingContract<'a> {
#[contract]
#[error(ContractError)]
#[messages(virtual_staking_api as VirtualStakingApi)]
#[sv::override_entry_point(sudo=crate::contract::sudo(SudoMsg))]
// #[sv::override_entry_point(sudo=sudo(SudoMsg))] // Disabled because lack of custom query support
impl VirtualStakingContract<'_> {
pub const fn new() -> Self {
Self {
Expand Down Expand Up @@ -286,7 +286,6 @@ fn withdraw_reward_msgs<T: CustomQuery>(

#[contract]
#[messages(virtual_staking_api as VirtualStakingApi)]
#[sv::override_entry_point(sudo=crate::contract::sudo(SudoMsg))]
impl VirtualStakingApi for VirtualStakingContract<'_> {
type Error = ContractError;

Expand Down
1 change: 1 addition & 0 deletions contracts/consumer/virtual-staking/src/multitest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ fn instantiation() {
}

#[test]
#[ignore] // FIXME: Enable / finish this test once custom query support is added to sylvia
fn valset_update_sudo() {
let app = App::default();

Expand Down

0 comments on commit 6361b7a

Please sign in to comment.