-
Notifications
You must be signed in to change notification settings - Fork 62
[chore] bump peggy proto #319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+43,265
−7,306
Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
680fe94
Release/v1.57 for chain v1.15 (#302)
aarmoa 5824e4e
chore: Updated all proto dependencies to the latest version of `maste…
aarmoa cbc585b
chore: updated the branch with the latest version of `master` in inje…
aarmoa 14bc7ef
chore: updated the branch with the latest version of in injective co…
aarmoa 5066aa5
fix: fixed lint errors
aarmoa 6f2486d
fix: update lint configuration
aarmoa 6e0faea
fix: fix errors in ling config yml file
aarmoa 922829c
fix: fix lint errors
aarmoa 1362b2e
fix: fix lint errors
aarmoa de0458f
fix: fixed issues when creating rpchttp connections to the tendermint…
aarmoa fec751e
fix: fixed lint errors
aarmoa 8f2dda0
chore: updated market's logic to convert values now that markets have…
aarmoa 6dc05e3
feat: updated examples and helper functions for GTB orders and the ne…
aarmoa 0da105a
chore: updated indexer version to v1.16.0-rc2
aarmoa 0495311
Merge pull request #263 from InjectiveLabs/feat/add_exchange_v2_support
aarmoa 948c59f
Merge branch 'master' of https://github.com/InjectiveLabs/sdk-go into…
aarmoa 7173b32
chore: updated proto definitions
aarmoa 7d8fb1f
Merge pull request #307 from InjectiveLabs/chore/sync_dev_with_master…
aarmoa 79e8f9b
cp-395: added support for the new evm and erc20 modules queries. Adde…
aarmoa 07a2d52
Merge branch 'dev' into cp-395/add_support_for_v1_16
aarmoa 1a0a621
Merge pull request #308 from InjectiveLabs/cp-395/add_support_for_v1_16
aarmoa b77d838
feat: added logic in Makefile to generate a list of all chain message…
aarmoa 78016d6
fix: applied the changes suggested in the rabbit review
aarmoa 678af51
Merge pull request #309 from InjectiveLabs/feat/add_chain_messages_list
aarmoa 127cdaf
feat: add evm precompiles (bank, exchange, staking) Go bindings
maxim-inj 32735a8
chore: update evm precompiles bindings
maxim-inj 370ebb7
chore: copy-chain-types
dbrajovic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,62 +1,66 @@ | ||
| version: "2" | ||
| run: | ||
| tests: false | ||
| linters: | ||
| fast: false | ||
| enable: | ||
| - errcheck | ||
| - errorlint | ||
| - gas | ||
| - gocritic | ||
| - gofmt | ||
| - goimports | ||
| - gosimple | ||
| - govet | ||
| - ineffassign | ||
| - megacheck | ||
| - misspell | ||
| - nakedret | ||
| - prealloc | ||
| - revive | ||
| - staticcheck | ||
| - unconvert | ||
| - unparam | ||
| disable: | ||
| - unused | ||
|
|
||
| linters-settings: | ||
| revive: | ||
| enable-all-rules: true | ||
| settings: | ||
| gocritic: | ||
| disabled-checks: | ||
| - singleCaseSwitch | ||
| - deferInLoop | ||
| - hugeParam | ||
| - unnamedResult | ||
| enabled-tags: | ||
| - performance | ||
| - diagnostic | ||
| - style | ||
| - opinionated | ||
| - experimental | ||
| revive: | ||
| enable-all-rules: true | ||
| rules: | ||
| - name: var-naming | ||
| arguments: | ||
| - - ID | ||
| - name: add-constant | ||
| disabled: true | ||
| - name: line-length-limit | ||
| arguments: | ||
| - 140 | ||
| - name: cognitive-complexity | ||
| arguments: | ||
| - 20 | ||
| disabled: false | ||
| exclusions: | ||
| generated: lax | ||
| presets: | ||
| - comments | ||
| - common-false-positives | ||
| - legacy | ||
| - std-error-handling | ||
| rules: | ||
| - name: var-naming | ||
| arguments: | ||
| - ["ID"] | ||
| - name: add-constant | ||
| disabled: true | ||
| - name: line-length-limit | ||
| arguments: | ||
| - 140 | ||
| gocritic: | ||
| enabled-tags: | ||
| - performance | ||
| - diagnostic | ||
| - style | ||
| - opinionated | ||
| - experimental | ||
| disabled-checks: | ||
| - singleCaseSwitch | ||
| - deferInLoop | ||
| - hugeParam | ||
| - unnamedResult | ||
| - linters: | ||
| - revive | ||
| text: ALL_CAPS | ||
| paths: | ||
| - chain | ||
| - exchange | ||
| - injective_data | ||
| - proto | ||
| - client/keyring/testdata | ||
| - client/chain/chain_test_support.go | ||
| issues: | ||
| exclude-rules: | ||
| - linters: | ||
| - revive | ||
| text: ALL_CAPS | ||
| exclude-dirs: | ||
| - chain | ||
| - exchange | ||
| - injective_data | ||
| - proto | ||
| - client/keyring/testdata | ||
| max-issues-per-linter: 0 | ||
|
|
||
| run: | ||
| tests: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| package hd | ||
|
|
||
| import ( | ||
| ethaccounts "github.com/ethereum/go-ethereum/accounts" | ||
| ) | ||
|
|
||
| var ( | ||
| // Bip44CoinType satisfies EIP84. See https://github.com/ethereum/EIPs/issues/84 for more info. | ||
| Bip44CoinType uint32 = 60 | ||
|
|
||
| // BIP44HDPath is the default BIP44 HD path used on Ethereum. | ||
| BIP44HDPath = ethaccounts.DefaultBaseDerivationPath.String() | ||
| ) | ||
|
|
||
| type ( | ||
| PathIterator func() ethaccounts.DerivationPath | ||
| ) | ||
|
|
||
| // NewPathIterator receives a base path as a string and a boolean for the desired iterator type and | ||
| // returns a function that iterates over the base HD path, returning the string. | ||
| func NewPathIterator(basePath string, ledgerIter bool) (PathIterator, error) { | ||
| hdPath, err := ethaccounts.ParseDerivationPath(basePath) | ||
| if err != nil { | ||
| return nil, err | ||
| } | ||
|
|
||
| if ledgerIter { | ||
| return ethaccounts.LedgerLiveIterator(hdPath), nil | ||
| } | ||
|
|
||
| return ethaccounts.DefaultIterator(hdPath), nil | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| package types | ||
|
|
||
| import ( | ||
| "github.com/cosmos/cosmos-sdk/codec" | ||
| cdctypes "github.com/cosmos/cosmos-sdk/codec/types" | ||
| sdk "github.com/cosmos/cosmos-sdk/types" | ||
| authzcdc "github.com/cosmos/cosmos-sdk/x/authz/codec" | ||
|
|
||
| // this line is used by starport scaffolding # 1 | ||
| "github.com/cosmos/cosmos-sdk/types/msgservice" | ||
| ) | ||
|
|
||
| const ModuleName = "erc20" | ||
|
|
||
| func RegisterCodec(cdc *codec.LegacyAmino) { | ||
| cdc.RegisterConcrete(&MsgUpdateParams{}, "erc20/MsgUpdateParams", nil) | ||
| cdc.RegisterConcrete(&MsgCreateTokenPair{}, "erc20/MsgCreateTokenPair", nil) | ||
| cdc.RegisterConcrete(&MsgDeleteTokenPair{}, "erc20/MsgDeleteTokenPair", nil) | ||
| } | ||
|
|
||
| func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { | ||
| registry.RegisterImplementations((*sdk.Msg)(nil), | ||
| &MsgUpdateParams{}, | ||
| &MsgCreateTokenPair{}, | ||
| &MsgDeleteTokenPair{}, | ||
| ) | ||
|
|
||
| msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) | ||
| } | ||
|
|
||
| var ( | ||
| ModuleCdc = codec.NewLegacyAmino() | ||
| ) | ||
|
|
||
| func init() { | ||
| RegisterCodec(ModuleCdc) | ||
| // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be | ||
| // used to properly serialize MsgGrant and MsgExec instances | ||
| sdk.RegisterLegacyAminoCodec(ModuleCdc) | ||
| RegisterCodec(authzcdc.Amino) | ||
| ModuleCdc.Seal() | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Address missing .PHONY targets.
The static analysis correctly identifies missing standard .PHONY targets that improve Makefile reliability.
Add the missing .PHONY targets:
You'll also need to define the missing targets:
📝 Committable suggestion
🧰 Tools
🪛 checkmake (0.2.2)
[warning] 217-217: Missing required phony target "all"
(minphony)
[warning] 217-217: Missing required phony target "clean"
(minphony)
[warning] 217-217: Missing required phony target "test"
(minphony)
🤖 Prompt for AI Agents