Skip to content

feat: Dropping sudo admins concept#10

Open
pbukva wants to merge 9 commits intomainfrom
feat/dropping_sudo_admins_concept
Open

feat: Dropping sudo admins concept#10
pbukva wants to merge 9 commits intomainfrom
feat/dropping_sudo_admins_concept

Conversation

@pbukva
Copy link
Copy Markdown
Collaborator

@pbukva pbukva commented Apr 29, 2026

No description provided.

@pbukva pbukva requested a review from MissingNO57 April 29, 2026 09:00
@pbukva pbukva self-assigned this Apr 29, 2026
@pbukva pbukva changed the title Dropping sudo admins concept - the 1st take [WIP] feat: Dropping sudo admins concept Apr 29, 2026
@pbukva pbukva marked this pull request as draft April 29, 2026 09:02
pbukva and others added 4 commits April 29, 2026 22:07
Temporarily Disabling due to dual import of `ibc-go` module `v8@v8.4.0` and `v10@v10.3.0`, what causes conflicts when each version of the `ibc-go` module registers the very same set of errors in the *GLOBAL* scope via `errorsmod.Register(...)`.

This happens due to the fact, that this particular test depends on the
`strangelove-ventures/interchaintest/v8@v8.8.1 `module, which depends on `ibc-go/v8@v8.4.0`, however our
fetchai/tokenfactory depends on `ibc-go/v10@v10.3.0`.

At the moment, this is hard to resolve, since the strangelove-ventures/interchaintest would need to be forked,
and updated so it would depend on `CosmWasm/wasmd@v0.61.2`, `CosmWasm/wasmvm/v3@v3.0.0` and `ibc-go/v10@v10.3.0`, what is non-trivial task, hence disabling this test temporarily.

-------------

* fix: Attempted simulator fix

* fix: WasmVM version in Dockerfile

* Disabling the 'interchaintest/tokenfactory_test.go' test

Disabling the test due to dual import of ibc-go module v8@v8.4.0 and v10@v10.3.0, what causes conflicts when each version
of ibc-go module registers the very same set of errors in the *GLOBAL* scope via `errorsmod.Register(...)`.
This happens due to the fact, that this particular test depends on the
strangelove-ventures/interchaintest/v8@v8.8.1 module, which depends on ibc-go/v8@v8.4.0, however our
fetchai/tokenfactory depends on ibc-go/v10@v10.3.0.
At the moment, this is hard to resolve, since the strangelove-ventures/interchaintest would need to be forked,
and updated so it would depend on CosmWasm/wasmd@v0.61.2, CosmWasm/wasmvm/v3@v3.0.0 and ibc-go/v10@v10.3.0,
what is non-trivial task, hence disabling this test temporarily.

TODO(pb): The test shall be re-enabled once the issue with the strangelove-ventures/interchaintest module is resolved.

* Marking all E2E test as skipped in GH workflow

* Marking all E2E test as skipped in GH workflow

---------

Co-authored-by: Peter Bukva <peter.bukva@gmail.com>
@pbukva pbukva marked this pull request as ready for review May 8, 2026 14:00
@pbukva pbukva changed the title [WIP] feat: Dropping sudo admins concept feat: Dropping sudo admins concept May 8, 2026
Comment thread x/tokenfactory/keeper/createdenom.go Fixed
@pbukva pbukva force-pushed the feat/dropping_sudo_admins_concept branch from 933d804 to b0c352c Compare May 9, 2026 02:52
Comment on lines +116 to +120
// Denomination *MUST* already exist:
_, denomExists := server.bankKeeper.GetDenomMetaData(ctx, msg.Amount.Denom)
if !denomExists {
return nil, types.ErrDenomDoesNotExist.Wrapf("denom: %s", msg.Amount.Denom)
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added only to make the behaviour symmetrical with the Mint(...).
👉 HOWEVER, it is questionable whether this is really necessary. I do not see a strong argument for enforcing the presence of denom metadata in the bank module.

Comment on lines +57 to +61
// Denomination *MUST* already exist:
_, denomExists := server.bankKeeper.GetDenomMetaData(ctx, msg.Amount.Denom)
if !denomExists {
return nil, types.ErrDenomDoesNotExist.Wrapf("denom: %s", msg.Amount.Denom)
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants