Commit Graph

244 Commits

Author SHA1 Message Date
son trinh
585335690b
feat(tx)!: make timeout_height time based (#20870)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-29 11:53:27 +00:00
yukionfire
d6ad92db0f
chore(all): replace all fmt.Errorf without paramters with errors.New (#21068) 2024-07-25 14:54:49 +02:00
Marko
2cf378174d
fix: use contents of the tx as identifier in cache (#20533)
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
2024-07-15 09:40:41 +00:00
Marko
271a46c89a
chore: move counter to testutils (#20281) 2024-05-06 16:07:53 +00:00
carehabit
80e1a45e70
chore: remove repetitive words (#19908) 2024-04-01 07:06:02 +00:00
Julián Toledano
25aea8af8a
refactor!: remove global config from x/auth and client (#19447) 2024-03-06 13:14:16 +00:00
Hwangjae Lee
e21d6e4ec9
docs(client): fixed typo in client/tx/aux_builder.go (#19643)
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
2024-03-05 07:52:30 +00:00
Julien Robert
b304cf7556
refactor!: kill basic manager (#19512) 2024-02-22 14:44:49 +00:00
testinginprod
e846eca366
refactor(auth): refactor auth/tx to use x/tx (#19224)
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-02-21 09:36:21 +00:00
Marko
869c96c403
refactor(bank, feegrant, authz): avoid creating baseaccount (#19188)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-02-13 12:52:06 +00:00
Aleksandr Bezobchuk
6ec53aaf54
feat: [ADR-070] Unordered Transactions (1/2) (#18641)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-01-04 16:58:52 +00:00
gsai967
64dbee6470
feat(client): add WithFromName to tx factory (#18852) 2023-12-21 10:06:34 +00:00
Cosmos SDK
14e261eb73
chore: fix spelling errors (#18734)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-13 14:05:58 +00:00
Cosmos SDK
8f0d5b15f0
chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-12-11 13:03:19 +00:00
Emmanuel T Odeke
0a7567ddc3
fix(client/tx): avoid integer uint64->int64 overflow by big.Int conversion (#18622) 2023-12-04 10:50:36 +00:00
Julien Robert
4b8be25516
test: make #18472 test structure same as backports (#18504) 2023-11-17 23:57:06 +00:00
Julián Toledano
80e0c631cc
fix(client/tx): simulate with correct pk (#18472) 2023-11-17 21:22:16 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Julien Robert
9e91c7b419
fix(client,server): consistently set env prefix between client/server (#18345) 2023-11-03 09:58:26 +00:00
Marko
44db964e91
test: add counter module (#18272) 2023-10-30 19:07:58 +00:00
Marko
21e69bad04
refactor(bank): add go module (#18279) 2023-10-27 09:25:04 +00:00
Julien Robert
fd93ee77e4
fix(simapp): textual wiring (#18242) 2023-10-24 21:14:10 +00:00
Julien Robert
bb34c42f06
feat(client): add default key name (#18101) 2023-10-16 11:08:40 +00:00
Julien Robert
b62301d9d1
feat(client/v2): signing (#17913) 2023-10-05 11:04:46 +00:00
Julien Robert
76f8ed1e86
fix(x/auth): properly populate tx config options and deprecate ProtoCodecMarshaler (#17946) 2023-10-04 07:29:35 +00:00
Marko
6715b5afb5
refactor!: remove tips (#17787) 2023-09-20 12:00:22 +00:00
Julien Robert
6601713eb6
feat(client): allow overwritting client.toml (#17513) 2023-08-29 08:40:13 +00:00
Julien Robert
c6b0bb62ac
refactor(client): use address codec (#17503) 2023-08-23 10:43:47 +00:00
Jacob Gadikian
f0aec3f30d
style: use thelper (#16777) 2023-07-03 13:33:05 +00:00
Julien Robert
8c72f66396
refactor!: remove types/math aliases (#16798) 2023-06-30 17:09:03 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Julien Robert
bb2d859e3c
fix: fetch account number/sequence when not in offline mode (#16075) 2023-05-10 10:45:53 +00:00
Matt Kocubinski
117865ae90
refactor(client): Remove usage of GetSignBytes from AuxTxBuilder (#16025) 2023-05-04 17:28:36 +00:00
mmsqe
7c59eade9a
feat: support extension options for build tx (#15992) 2023-04-30 13:01:13 +00:00
Matt Kocubinski
00b78fae00
refactor(x/auth): v2 adaptable tx instead of double decode (#15910) 2023-04-26 19:57:01 +00:00
Matt Kocubinski
86b88b1ace
refactor!: use x/tx/signing in client.TxConfig (#15822) 2023-04-20 16:20:21 +00:00
Jacob Gadikian
ac3c209326
style: lint the client folder in the repo root (#15816) 2023-04-13 02:48:48 +00:00
Julien Robert
df161c214c
feat: optional validate basic (#15735) 2023-04-07 13:13:15 +00:00
Marko
38c7c948f5
style: various linting fixes (#15675)
## Description

fix various linting issues

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

* [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] added `!` to the type prefix if API or client breaking change
* [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] provided a link to the relevant issue or specification
* [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
* [ ] added a changelog entry to `CHANGELOG.md`
* [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] updated the relevant documentation or specification
* [ ] reviewed "Files changed" and left comments if necessary
* [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

* [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] confirmed `!` in the type prefix if API or client breaking change
* [ ] confirmed all author checklist items have been addressed 
* [ ] reviewed state machine logic
* [ ] reviewed API design and naming
* [ ] reviewed documentation is accurate
* [ ] reviewed tests and test coverage
* [ ] manually tested (if applicable)
2023-04-03 17:00:44 +00:00
Marko
c1ea84d583
style: more linting (#15616) 2023-03-30 12:05:50 +00:00
Jacob Gadikian
37ba88872d
style: enable strict gofumpt (#15579) 2023-03-28 18:59:21 +00:00
Parsa Akbari
9bb9bff96f
docs: fix a typo (#15542)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-23 23:46:26 +00:00
Julien Robert
460bd0ad26
refactor: remove unnecessary depinject usage (#15529) 2023-03-23 16:18:41 +00:00
Amaury
a4a3c81d11
feat(client): Add cobra's context to clientCtx (#15458)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-03-20 14:14:58 +00:00
Aaron Craelius
ecc685d428
refactor!: remove some legacy amino stuff needed for #11275 (#15299) 2023-03-15 20:10:23 +00:00
Jayden Lee
c71d19939b
fix: change the behavior of offline mode correctly (#15123)
## Description
Closes: #15109 

Change to work only when `FlagAccountNumber` and `FlagSequence` are in offline mode. In other cases, use `AccountRetriever` to populate those values.



---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2023-02-23 10:03:20 +00:00
Julien Robert
c17c3caab8
refactor: rename commands to match consensus engine name (#14956) 2023-02-08 20:09:28 +00:00
Amaury
57bedb1006
feat(textual): Add client-side infra (#14661)
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
2023-01-24 10:17:04 +00:00
Aleksandr Bezobchuk
f2b6013cee
chore: use sdkmath in misc packages (#14606)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-16 12:48:32 +00:00
Jacob Gadikian
be8c5a09c2
chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00