Skip to content

Conversation

@vexxvakan
Copy link
Member

This PR includes the following changes made for the Juno v30 software upgrade:

  • Replaced broken cosmos sdk swagger implementation with OpenAPI 3.0 compatible Scalar UI on every node. Access it by enabling the api server in your node config and navigating to :1317/scalar

  • Massively cleaned up proto generation and adjusted the flow to allow for above changes

  • Updated to Cosmos SDK 0.53.0 and accompanying modules and dependency bumps

  • Removed x/globalfee module

  • Forked deprecated x/feemarket by ICL/Skip, adjusted and implemented

  • Reworked interchaintest e2e suite for much better scalability

@vexxvakan vexxvakan self-assigned this May 22, 2025
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
io "io"
reflect "reflect"

Check notice

Code scanning / CodeQL

Sensitive package import Note

Certain system packages contain functions which may be a possible source of non-determinism

// handle tx priority
var priority int64 = 0
bondDenomGasPrice, err := dfd.feemarketKeeper.GetCurrentGasPrice(ctx, dfd.bondDenom)

Check warning

Code scanning / CodeQL

Useless assignment to local variable Warning

This definition of err is never used.

Copilot Autofix

AI 6 months ago

To fix the issue, the assignment to err on line 160 should be removed entirely. This eliminates the redundant operation and ensures that the code is cleaner and easier to understand. The subsequent assignment to err on line 161 remains intact, as it is used later in the code.


Suggested changeset 1
app/decorators/handle_fees_decorator.go
Outside changed files

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/app/decorators/handle_fees_decorator.go b/app/decorators/handle_fees_decorator.go
--- a/app/decorators/handle_fees_decorator.go
+++ b/app/decorators/handle_fees_decorator.go
@@ -159,3 +159,3 @@
 	var priority int64 = 0
-	bondDenomGasPrice, err := dfd.feemarketKeeper.GetCurrentGasPrice(ctx, dfd.bondDenom)
+	bondDenomGasPrice := dfd.feemarketKeeper.GetCurrentGasPrice(ctx, dfd.bondDenom)
 	priorityFee, err := dfd.resolveTxPriorityCoins(ctx, payCoin, dfd.bondDenom)
EOF
@@ -159,3 +159,3 @@
var priority int64 = 0
bondDenomGasPrice, err := dfd.feemarketKeeper.GetCurrentGasPrice(ctx, dfd.bondDenom)
bondDenomGasPrice := dfd.feemarketKeeper.GetCurrentGasPrice(ctx, dfd.bondDenom)
priorityFee, err := dfd.resolveTxPriorityCoins(ctx, payCoin, dfd.bondDenom)
Copilot is powered by AI and may make mistakes. Always verify output.
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@CosmosContracts CosmosContracts deleted a comment from coderabbitai bot Oct 20, 2025
@CosmosContracts CosmosContracts deleted a comment from coderabbitai bot Nov 6, 2025
@CosmosContracts CosmosContracts deleted a comment from coderabbitai bot Nov 10, 2025
@CosmosContracts CosmosContracts deleted a comment from coderabbitai bot Nov 10, 2025
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