Skip to content

Commit 7f821a4

Browse files
committed
Release of new version
1 parent 1f41963 commit 7f821a4

File tree

125 files changed

+209437
-99053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+209437
-99053
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
Dockerfile
22
deployment
33
upgrade-test/
4+
interchaintest/
5+
.dockerignore

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ injective-chain/modules/exchange/testexchange/test.properties
4545
injective-chain/modules/evm/precompiles/bindings/src
4646
interchaintest/coverage/
4747
interchaintest/security/coverage
48+
interchaintest/injective_data/
4849

4950
vendor/
5051

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ linters:
5151
text: ALL_CAPS
5252
paths:
5353
- scripts/align_deps.go
54+
- injective-chain/app/upgrades/v1.16.0/data
5455
- injective-chain/app/upgrades/v1.16.0-beta.2/data
5556
- injective-chain/modules/peggy/testpeggy
5657
- injective-chain/modules/exchange/testexchange

CHANGELOG.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,37 +36,55 @@ Ref: https://keepachangelog.com/en/1.1.0/
3636

3737
## [Unreleased]
3838

39-
4039
### Bug Fixes
4140

41+
- (evm) [#2250](https://github.com/InjectiveLabs/injective-core/pull/2250) Fixed EVM nonce increment for any type of EVM txns when tx contains multiple msgs.
4242
- (exchange) [#2197](https://github.com/InjectiveLabs/injective-core/pull/2197) Fixed CLI commands to support `ExpirationBlock` while maintaining backwards compatibility.
4343
- (exchange) [#2195](https://github.com/InjectiveLabs/injective-core/pull/2195) Fixed propogation of AdminInfo inputs to governance launches for Perpetuals and Expiry Futures markets.
44-
- (wasmx) [#2136](https://github.com/InjectiveLabs/injective-core/pull/2136) Fixed wasmx authz ExecuteCompat authorization to work properly when MaxCalls > 1 filter is applied.
4544
- (peggo) [#2216](https://github.com/InjectiveLabs/injective-core/pull/2216) On failure, `Relayer` loop attempts to submit subsequent batch.
46-
- (peggy) [#2186](https://github.com/InjectiveLabs/injective-core/pull/2186) Added a fix for Peggy.sol contract when paying out fees to the relayer who submitted the batch
45+
- (peggy) [#2186](https://github.com/InjectiveLabs/injective-core/pull/2186) Added a fix for Peggy.sol contract when paying out fees to the relayer who submitted the batch.
46+
- (swagger) [#2242](https://github.com/InjectiveLabs/injective-core/pull/2242) Updated swagger config.json file to include all Cosmos SDK modules.
47+
- (exchange) [#2246](https://github.com/InjectiveLabs/injective-core/pull/2246) Fixed incorrect emptiness check for conditional orderbooks.
48+
- (exchange) [#2254](https://github.com/InjectiveLabs/injective-core/pull/2254) Fixed incorrect max derivative order value usage.
49+
- (wasm) [#2260](https://github.com/InjectiveLabs/injective-core/pull/2260) Fixed issue in few wasm queries (human readable format).
4750

4851
### Features
4952

53+
- (evm) [#2269](https://github.com/InjectiveLabs/injective-core/pull/2269) Added denom creation fee for STR erc20 denoms.
5054
- (evm) [#2099](https://github.com/InjectiveLabs/injective-core/pull/2099) EVM support
5155
- (cmd) [#2143](https://github.com/InjectiveLabs/injective-core/pull/2143) Devnetify existing state via CLI `bootstrap-devnet` command.
52-
- (txfees) [#4266](https://github.com/InjectiveLabs/injective-core/pull/4266) Dynamic transaction fees with EIP-1559 style fee market. The implementation is based on the [Osmosis implementation](https://github.com/osmosis-labs/osmosis/tree/main/x/txfees).
5356
- (chain-stream) [#2229](https://github.com/InjectiveLabs/injective-core/pull/2229)
54-
- (cmd) [#2124](https://github.com/InjectiveLabs/injective-core/pull/2124) Add `--log-color` bool flag support to disable coloring of log lines, disable usage print on errors.
55-
- (exchange) [#2096](https://github.com/InjectiveLabs/injective-core/pull/2096) Introduce fixed-gas consumption for certain exchange Msg types.
56-
- (abci/block-sdk) [#2106](https://github.com/InjectiveLabs/injective-core/pull/2106) Added app-level mempool prioritization.
5757
- (exchange) [#2100](https://github.com/InjectiveLabs/injective-core/pull/2100) Refactoring of Exchange module to use human-readable values in all places except for deposits.
5858
- (exchange) [#2175](https://github.com/InjectiveLabs/injective-core/pull/2175) Added GTB (Good-Til-Block) limit orders
5959
- (exchange) [#2192](https://github.com/InjectiveLabs/injective-core/pull/2192) Added new reduce margin ratio for derivative markets
6060
- (exchange) [#2187](https://github.com/InjectiveLabs/injective-core/pull/2187) Added new `EventTriggerConditionalMarketOrderFailed` and `EventTriggerConditionalLimitOrderFailed` events when a conditional order fails to execute after being triggered.
6161

6262
### Improvements
6363

64+
- (evm) [#2238](https://github.com/InjectiveLabs/injective-core/pull/2238) Migrated precompiles bindings generation to forge
65+
- (cmd) [#2250](https://github.com/InjectiveLabs/injective-core/pull/2250) Added support for batching of multiple raw evm txns in `tx evm raw` CLI command.
66+
- (evm) [#2241](https://github.com/InjectiveLabs/injective-core/pull/2241) Upgraded go-ethereum to v1.15.11
6467
- (evm) [#2211](https://github.com/InjectiveLabs/injective-core/pull/2211) Disable unused gas refunds for MsgEthereumTx
6568
- (peggo) Moved InjectiveLabs/peggo to injective-core repo.
6669
- (cosmos-sdk) [#2183](https://github.com/InjectiveLabs/injective-core/pull/2183) Updated dependencies to use Cosmos SDK v0.50.13
6770
- (cmd) [#2207](https://github.com/InjectiveLabs/injective-core/pull/2207) Removed rosetta dependency.
6871
- (peggo) [#2209](https://github.com/InjectiveLabs/injective-core/pull/2209) Expose loop durations through .env vars. Clients should not change the default values.
6972
- (peggo) [#2219](https://github.com/InjectiveLabs/injective-core/pull/2219) Removed sdk-go dependency.
73+
- (ante) [#2275](https://github.com/InjectiveLabs/injective-core/pull/2275) Added support for Injective EVM Mainnet and Testnet in EIP712 Tx (chainID 1776 and 1439)
74+
75+
## [v1.15.0](https://github.com/InjectiveFoundation/injective-core/releases/tag/v1.15.0) - 2025-04-17
76+
77+
### Bug Fixes
78+
79+
- (wasmx) [#2136](https://github.com/InjectiveLabs/injective-core/pull/2136) Fixed wasmx authz ExecuteCompat authorization to work properly when MaxCalls > 1 filter is applied.
80+
81+
### Features
82+
83+
- (txfees) [#4266](https://github.com/InjectiveLabs/injective-core/pull/4266) Dynamic transaction fees with EIP-1559 style fee market. The implementation is based on the [Osmosis implementation](https://github.com/osmosis-labs/osmosis/tree/main/x/txfees).
84+
- (cmd) [#2124](https://github.com/InjectiveLabs/injective-core/pull/2124) Add `--log-color` bool flag support to disable coloring of log lines, disable usage print on errors.
85+
- (exchange) [#2096](https://github.com/InjectiveLabs/injective-core/pull/2096) Introduce fixed-gas consumption for certain exchange Msg types.
86+
- (abci/block-sdk) [#2106](https://github.com/InjectiveLabs/injective-core/pull/2106) Added app-level mempool prioritization.
87+
- (exchange) [#2160](https://github.com/InjectiveLabs/injective-core/pull/2160) CLI command for MsgWithdraw, MsgExternalTransfer
7088

7189
### Security
7290

Makefile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,9 @@ ictest-upgrade: rm-testcache
166166
cd interchaintest && go test -v -run TestInjectiveUpgradeHandler .
167167
./scripts/coverage-html.sh interchaintest/coverage/TestInjectiveUpgradeHandler
168168

169-
.PHONY: rm-testcache ictest-all ictest-basic ictest-upgrade ictest-evm
170169
ictest-dynamic-fee: rm-testcache
171170
rm -rf interchaintest/coverage/TestDynamicFee
172-
cd interchaintest && go test -v -run Test_DynamicFee_FeeIncreases .
171+
cd interchaintest && go test -v -run Test_DynamicFee .
173172
./scripts/coverage-html.sh interchaintest/coverage/TestDynamicFee
174173

175174
ictest-ibchooks: rm-testcache
@@ -212,14 +211,24 @@ ictest-peggo-ibc: rm-testcache
212211
cd interchaintest && go test -timeout 30m -v -run Test_Peggo_IBCDenomDeployed .
213212
./scripts/coverage-html.sh interchaintest/coverage/Test_Peggo_IBCDenomDeployed
214213

214+
ictest-peggo-erc20: rm-testcache
215+
rm -rf interchaintest/coverage/Test_Peggo_ERC20DenomDeployed
216+
cd interchaintest && go test -timeout 30m -v -run Test_Peggo_ERC20DenomDeployed .
217+
./scripts/coverage-html.sh interchaintest/coverage/Test_Peggo_ERC20DenomDeployed
218+
215219
ictest-evm: rm-testcache
216-
rm -rf interchaintest/coverage/TestInjectiveEvm
217-
cd interchaintest && go test -race -v -run TestInjectiveEvm .
218-
./scripts/coverage-html.sh interchaintest/coverage/TestInjectiveEvm
220+
rm -rf interchaintest/coverage/TestEVMRPC
221+
cd interchaintest && go test -v -run "(EVMRPC*|EVMKeeper*)" .
222+
./scripts/coverage-html.sh interchaintest/coverage/TestEVMRPC
223+
224+
ictest-chainstream: rm-testcache
225+
rm -rf interchaintest/coverage/Test_ChainStream_ConnectsAndReceivesEvents
226+
cd interchaintest && go test -timeout 30m -v -run Test_ChainStream_ConnectsAndReceivesEvents .
227+
./scripts/coverage-html.sh interchaintest/coverage/Test_ChainStream_ConnectsAndReceivesEvents
219228

220229
.PHONY: rm-testcache rm-ic-coverage
221230
.PHONY: ictest-all ictest-basic ictest-upgrade ictest-ibchooks ictest-permissions-wasm-hook ictest-pfm ictest-lanes
222-
.PHONY: ictest-fixed-gas ictest-fixed-gas-regression ictest-peggo ictest-peggo-ibc
231+
.PHONY: ictest-fixed-gas ictest-fixed-gas-regression ictest-peggo ictest-peggo-ibc ictest-evm ictest-chainstream
223232

224233
###############################################################################
225234

@@ -274,16 +283,7 @@ precompiles-bindings:
274283
### Documentation ###
275284
###############################################################################
276285

277-
update-swagger-docs:
278-
statik -src=client/docs/swagger-ui -dest=client/docs -f -m
279-
@if [ -n "$(git status --porcelain)" ]; then \
280-
echo "\033[91mSwagger docs are out of sync!!!\033[0m";\
281-
exit 1;\
282-
else \
283-
echo "\033[92mSwagger docs are in sync\033[0m";\
284-
fi
285-
286286
gen-modules-errors-pages:
287287
@exec ./scripts/docs/generate_errors_docs.sh
288288

289-
.PHONY: update-swagger-docs
289+
.PHONY: gen-modules-errors-pages

cli/flags/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package flags
33
import (
44
"fmt"
55

6-
cmcli "github.com/cometbft/cometbft/libs/cli"
76
"github.com/cosmos/cosmos-sdk/client/flags"
87
"github.com/cosmos/cosmos-sdk/crypto/keyring"
98
govcli "github.com/cosmos/cosmos-sdk/x/gov/client/cli"
@@ -14,7 +13,7 @@ import (
1413
func AddQueryFlagsToCmd(cmd *cobra.Command) {
1514
cmd.Flags().String(flags.FlagNode, "tcp://localhost:26657", "<host>:<port> to Tendermint RPC interface for this chain")
1615
cmd.Flags().Int64(flags.FlagHeight, 0, "Use a specific height to query state at (this can error if the node is pruning state)")
17-
cmd.Flags().StringP(cmcli.OutputFlag, "o", "text", "Output format (text|json)")
16+
cmd.Flags().StringP(flags.FlagOutput, "o", "text", "Output format (text|json)")
1817
cmd.Flags().String(flags.FlagChainID, "", "chain-id")
1918
err := cmd.MarkFlagRequired(flags.FlagChainID)
2019
if err != nil {
@@ -24,6 +23,7 @@ func AddQueryFlagsToCmd(cmd *cobra.Command) {
2423

2524
// AddTxFlagsToCmd adds common flags to a module tx command.
2625
func AddTxFlagsToCmd(cmd *cobra.Command) {
26+
cmd.Flags().StringP(flags.FlagOutput, "o", "text", "Output format (text|json)")
2727
cmd.Flags().String(flags.FlagKeyringDir, "", "The client Keyring directory; if omitted, the default 'home' directory will be used")
2828
cmd.Flags().String(flags.FlagFrom, "", "Name or address of private key with which to sign")
2929
cmd.Flags().Uint64P(flags.FlagAccountNumber, "a", 0, "The account number of the signing account (offline mode only)")

client/docs/config.json

Lines changed: 116 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,10 @@
155155
"url": "./tmp-swagger-gen/injective/evm/v1/query.swagger.json",
156156
"operationIds": {
157157
"rename": {
158-
"Params": "EvmParams",
159-
"Code": "EvmCode"
158+
"Account": "EvmAccount",
159+
"Balance": "EvmBalance",
160+
"Code": "EvmCode",
161+
"Params": "EvmParams"
160162
}
161163
}
162164
},
@@ -185,24 +187,14 @@
185187
"url": "./tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json",
186188
"operationIds": {
187189
"rename": {
188-
"Account": "AuthAccount",
189190
"Params": "AuthParams"
190191
}
191192
}
192193
},
193-
{
194-
"url": "./tmp-swagger-gen/cosmos/authz/v1beta1/query.swagger.json",
195-
"operationIds": {
196-
"rename": {
197-
"Params": "AuthzParams"
198-
}
199-
}
200-
},
201194
{
202195
"url": "./tmp-swagger-gen/cosmos/bank/v1beta1/query.swagger.json",
203196
"operationIds": {
204197
"rename": {
205-
"Balance": "BankBalance",
206198
"Params": "BankParams"
207199
}
208200
}
@@ -211,24 +203,18 @@
211203
"url": "./tmp-swagger-gen/cosmos/base/tendermint/v1beta1/query.swagger.json",
212204
"operationIds": {
213205
"rename": {
214-
"Params": "TendermintParams"
206+
"Params": "BaseParams"
215207
}
216208
}
217209
},
218210
{
219-
"url": "./tmp-swagger-gen/cosmos/consensus/v1/query.swagger.json",
220-
"operationIds": {
221-
"rename": {
222-
"Params": "ConsensusParams"
223-
}
224-
}
211+
"url": "./tmp-swagger-gen/cosmos/base/node/v1beta1/query.swagger.json"
225212
},
226213
{
227214
"url": "./tmp-swagger-gen/cosmos/distribution/v1beta1/query.swagger.json",
228215
"operationIds": {
229216
"rename": {
230-
"Params": "DistributionParams",
231-
"DelegatorValidators": "DistDelegatorValidators"
217+
"Params": "DistributionParams"
232218
}
233219
}
234220
},
@@ -241,18 +227,25 @@
241227
}
242228
},
243229
{
244-
"url": "./tmp-swagger-gen/cosmos/feegrant/v1beta1/query.swagger.json",
230+
"url": "./tmp-swagger-gen/cosmos/gov/v1beta1/query.swagger.json",
245231
"operationIds": {
246232
"rename": {
247-
"Params": "FeeGrantParams"
233+
"Params": "GovParams"
248234
}
249235
}
250236
},
251237
{
252238
"url": "./tmp-swagger-gen/cosmos/gov/v1/query.swagger.json",
253239
"operationIds": {
254240
"rename": {
255-
"Params": "GovV1Params"
241+
"Params": "GovV1Params",
242+
"Proposal": "GovV1Proposal",
243+
"Proposals": "GovV1Proposal",
244+
"Vote": "GovV1Vote",
245+
"Votes": "GovV1Votes",
246+
"Deposit": "GovV1Deposit",
247+
"Deposits": "GovV1Deposit",
248+
"TallyResult": "GovV1TallyResult"
256249
}
257250
}
258251
},
@@ -268,7 +261,7 @@
268261
"url": "./tmp-swagger-gen/cosmos/params/v1beta1/query.swagger.json",
269262
"operationIds": {
270263
"rename": {
271-
"Params": "ParamsParams"
264+
"Params": "Params"
272265
}
273266
}
274267
},
@@ -284,10 +277,17 @@
284277
"url": "./tmp-swagger-gen/cosmos/staking/v1beta1/query.swagger.json",
285278
"operationIds": {
286279
"rename": {
287-
"Params": "StakingParams"
280+
"Params": "StakingParams",
281+
"DelegatorValidators": "StakingDelegatorValidators"
288282
}
289283
}
290284
},
285+
{
286+
"url": "./tmp-swagger-gen/cosmos/tx/v1beta1/service.swagger.json",
287+
"dereference": {
288+
"circular": "ignore"
289+
}
290+
},
291291
{
292292
"url": "./tmp-swagger-gen/cosmos/upgrade/v1beta1/query.swagger.json",
293293
"operationIds": {
@@ -296,6 +296,81 @@
296296
}
297297
}
298298
},
299+
{
300+
"url": "./tmp-swagger-gen/cosmos/authz/v1beta1/query.swagger.json",
301+
"operationIds": {
302+
"rename": {
303+
"Params": "AuthzParams"
304+
}
305+
}
306+
},
307+
{
308+
"url": "./tmp-swagger-gen/cosmos/feegrant/v1beta1/query.swagger.json",
309+
"operationIds": {
310+
"rename": {
311+
"Params": "FeegrantParams"
312+
}
313+
}
314+
},
315+
{
316+
"url": "./tmp-swagger-gen/cosmos/nft/v1beta1/query.swagger.json",
317+
"operationIds": {
318+
"rename": {
319+
"Params": "NftParams",
320+
"Balance": "NftBalance"
321+
}
322+
}
323+
},
324+
{
325+
"url": "./tmp-swagger-gen/cosmos/group/v1/query.swagger.json",
326+
"operationIds": {
327+
"rename": {
328+
"Params": "GroupParams",
329+
"Proposal": "GroupProposal",
330+
"TallyResult": "GroupTallyResult"
331+
}
332+
}
333+
},
334+
{
335+
"url": "./tmp-swagger-gen/cosmos/circuit/v1/query.swagger.json",
336+
"operationIds": {
337+
"rename": {
338+
"Accounts": "CircuitAccounts",
339+
"Account": "CircuitAccount",
340+
"Params": "CircuitParams"
341+
}
342+
}
343+
},
344+
{
345+
"url": "./tmp-swagger-gen/cosmos/consensus/v1/query.swagger.json",
346+
"operationIds": {
347+
"rename": {
348+
"Params": "ConsensusParams"
349+
}
350+
}
351+
},
352+
{
353+
"url": "./tmp-swagger-gen/cosmos/app/v1alpha1/query.swagger.json"
354+
},
355+
{
356+
"url": "tmp-swagger-gen/ibc/applications/fee/v1/query.swagger.json"
357+
},
358+
{
359+
"url": "tmp-swagger-gen/ibc/applications/interchain_accounts/controller/v1/query.swagger.json",
360+
"operationIds": {
361+
"rename": {
362+
"Params": "IBCInterchainAccountsControllerParams"
363+
}
364+
}
365+
},
366+
{
367+
"url": "tmp-swagger-gen/ibc/applications/interchain_accounts/host/v1/query.swagger.json",
368+
"operationIds": {
369+
"rename": {
370+
"Params": "IBCInterchainAccountsHostParams"
371+
}
372+
}
373+
},
299374
{
300375
"url": "tmp-swagger-gen/ibc/applications/transfer/v1/query.swagger.json",
301376
"operationIds": {
@@ -330,7 +405,21 @@
330405
}
331406
},
332407
{
333-
"url": "tmp-swagger-gen/cosmwasm/wasm/v1/query.swagger.json"
408+
"url": "tmp-swagger-gen/ibc/lightclients/wasm/v1/query.swagger.json",
409+
"operationIds": {
410+
"rename": {
411+
"Code": "IBCLightClientCode"
412+
}
413+
}
414+
},
415+
{
416+
"url": "tmp-swagger-gen/cosmwasm/wasm/v1/query.swagger.json",
417+
"operationIds": {
418+
"rename": {
419+
"Code": "CosmwasmCode",
420+
"Params": "CosmwasmParams"
421+
}
422+
}
334423
}
335424
]
336425
}

0 commit comments

Comments
 (0)