Skip to content
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

Release to main v0.10.0 #294

Merged
merged 176 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
16ca882
QB-1532 Add Dockerfile for integration test
Jan 16, 2023
a0bf29a
add uid and gid args
Jan 18, 2023
e439d8e
Merge pull request #200 from stratosnet/main
jinzuo-qsn Jan 19, 2023
bf66b06
Optimize queries
Xiong-stratos Jan 19, 2023
f9a6b69
- qb1586: fix improper error handling in pot/endBlocker to print deta…
jialbai Jan 20, 2023
5fb27c1
fix: gwei denom not working with gas-price flag
Xiong-stratos Jan 20, 2023
cc6d6f0
chore/QB-1578 Update btcd dependencies
mdumais-stratos Jan 20, 2023
7e7d421
chore/QB-1578 fix go-ethereum update
mdumais-stratos Jan 24, 2023
95772e1
- qb1596: fix eaten error in some rare cases during prepay
jialbai Jan 24, 2023
747791e
Merge pull request #205 from stratosnet/chore/QB-1578_fix_dependency_…
jinzuo-qsn Jan 24, 2023
e256e0b
Merge pull request #206 from stratosnet/qb1596_fix-eaten-err-in-rare-…
jinzuo-qsn Jan 24, 2023
974d765
Merge pull request #203 from stratosnet/qb1586_fix-pot-endblocker-err…
jinzuo-qsn Jan 24, 2023
87d16c8
Merge pull request #201 from stratosnet/QB-1577_optimize_queries
jinzuo-qsn Jan 24, 2023
4c76be4
Merge pull request #196 from stratosnet/QB-1532.integration.test
alexstratos Jan 27, 2023
b36d134
updatestake to restore sp's ppstore
WangLiStratos Jan 27, 2023
5578b44
test/QB-1603 Fix unit tests
mdumais-stratos Jan 30, 2023
31fdb88
test/QB-1603 remove push trigger
mdumais-stratos Jan 31, 2023
33d1715
Merge pull request #202 from stratosnet/qb1582_gas-prices_flag_suppor…
alexstratos Jan 31, 2023
393398c
Merge pull request #208 from stratosnet/QB-1573_refactor_pp_fsm
alexstratos Jan 31, 2023
56f181f
Merge pull request #213 from stratosnet/test/QB-1603_fix_unit_tests
alexstratos Jan 31, 2023
3b5a4a1
- qb1269: node tier change affect ozlimit
jialbai Feb 2, 2023
b1f447e
Merge branches 'dev' and 'qb1269_node-tier-change-affect-ozlimt' of h…
jialbai Feb 3, 2023
2f6dfd8
remove amino codec from pot module
Xiong-stratos Feb 3, 2023
66f4b7f
- qb1296: fix effectiveToken update logics
jialbai Feb 7, 2023
9f2edc9
1, remove amino codec from register module
Xiong-stratos Feb 7, 2023
6a1047c
code optimization
Xiong-stratos Feb 7, 2023
8097df1
- qb1296: add debug logs
jialbai Feb 7, 2023
00ce238
- qb1269: add update_effective_stake tx
jialbai Feb 11, 2023
2856820
QB-1574: update to TM calls, refactor ws (#211)
BoThe1K Feb 13, 2023
7681d40
bump version to v0.9.1
alexstratos Feb 13, 2023
6285455
attribute current stake is not added now (#220)
WangLiStratos Feb 13, 2023
98bdbd8
Merge pull request #219 from stratosnet/dev
alexstratos Feb 13, 2023
8e13728
Merge branch 'dev' into qb1602_remove_amino_codec
alexstratos Feb 13, 2023
de18eda
Add EVM state breakers on new prod
BoThe1K Feb 11, 2023
142ab5c
restore attribute current stake
WangLiStratos Feb 13, 2023
d09d315
Add initial pool design
BoThe1K Feb 16, 2023
5c93abe
Force to build with go1.19
Xiong-stratos Feb 16, 2023
6e2bf36
update go.mod
Xiong-stratos Feb 16, 2023
4db1c6d
Merge pull request #217 from stratosnet/qb1602_remove_amino_codec
alexstratos Feb 16, 2023
47d122f
- qb1269: add new tx UpdateEffectiveStake (also work for unsuspending…
jialbai Feb 17, 2023
d62d9fb
Merge branches 'dev' and 'qb1269_node-tier-change-affect-ozlimt' of h…
jialbai Feb 20, 2023
c277133
- qb1269: merge with latest dev branch and remove useless effectiveSt…
jialbai Feb 20, 2023
80f9d51
bech32 sds p2pPubKey correction
Xiong-stratos Feb 20, 2023
2558a48
Merge pull request #221 from stratosnet/QB-1573_refactor_pp_fsm
alexstratos Feb 21, 2023
a54289b
Merge pull request #218 from stratosnet/QB-1574/state-breakers
alexstratos Feb 21, 2023
f925a6d
Merge pull request #222 from stratosnet/qb-1632_apphash_diff
alexstratos Feb 21, 2023
8c17360
Merge pull request #223 from stratosnet/qb-1659_sds_pukey_bech32_stri…
alexstratos Feb 21, 2023
9319793
Merge branches 'dev' and 'qb1269_node-tier-change-affect-ozlimt' of h…
jialbai Feb 22, 2023
626e586
- qb1269: fix typo
jialbai Feb 22, 2023
3df9c26
1,Implement missing grpc APIs
Xiong-stratos Feb 23, 2023
ba14e57
bug fix
Xiong-stratos Feb 23, 2023
41050bd
- qb1269: add availableStake(allStake-unbondingStake) alignment with SP
jialbai Feb 24, 2023
7cff28e
- qb1269: rename method from IsSpNode to IsMetaNode
jialbai Feb 24, 2023
28c48e7
- qb1269: GetSigners() method of message won't tolerant for error any…
jialbai Feb 24, 2023
eb47168
Merge pull request #215 from stratosnet/qb1269_node-tier-change-affec…
alexstratos Feb 24, 2023
657ea6f
"in_ten_thousand" rename to "in_bp"
Xiong-stratos Feb 24, 2023
63402f8
Improve initial design
BoThe1K Feb 20, 2023
884844b
Merge pull request #224 from stratosnet/QB-1645/evm-pool
alexstratos Feb 24, 2023
86eb581
add param validation
Xiong-stratos Feb 24, 2023
c8028a8
Merge branch 'dev' into qb-1660_implement_grpc_queries
Xiong-stratos Feb 24, 2023
201f2ee
conflict solve
Xiong-stratos Feb 24, 2023
7a29ffa
bug fix
Xiong-stratos Feb 24, 2023
40ec743
remove coin normalization from msg handler level
Xiong-stratos Feb 24, 2023
b06d81a
Merge pull request #225 from stratosnet/qb-1660_implement_grpc_queries
alexstratos Feb 24, 2023
ff4ee11
bump version to v0.10.0
alexstratos Feb 24, 2023
ee5fd8f
Apply fix with baseFee
BoThe1K Mar 3, 2023
78e7317
Merge pull request #227 from stratosnet/QB-1693/fix-base-fee
alexstratos Mar 3, 2023
e37ad12
Feat/Qb-1669: Use GRPC APIs to interact with stchain (#226)
Xiong-stratos Mar 7, 2023
135f3bd
add a query api to get the total mined token from pot module (#231)
Xiong-stratos Mar 7, 2023
a192d26
add report owner validation for MsgVolumeReport/MsgSlashingResourceNo…
Xiong-stratos Mar 8, 2023
bc075d4
Merge pull request #232 from stratosnet/qb1716_check_report_owner
alexstratos Mar 8, 2023
4618e02
Merge pull request #228 from stratosnet/audit
jinzuo-qsn Mar 9, 2023
83fbbf3
Feat/QB-1671: Prepay for other address (#230)
Xiong-stratos Mar 13, 2023
3aa42ae
add report owner validation for MsgVolumeReport/MsgSlashingResourceNo…
Xiong-stratos Mar 13, 2023
6250dc6
Fix evm contract destroy
BoThe1K Mar 26, 2023
86e6773
1, Add reporter owner validation.
Xiong-stratos Mar 27, 2023
a794975
Merge pull request #236 from stratosnet/fix-EVM-set-code
alexstratos Mar 28, 2023
78c47dd
- qb1747: fix validation of MsgUpdateEffectiveStake
jialbai Mar 30, 2023
3adad30
- qb1747: simplify GetTotalConsumedNoz impl
jialbai Mar 30, 2023
33af4f2
- qb1746: fix extreme case that remainingOzoneLimit decreases to nega…
jialbai Mar 30, 2023
9e511c3
1, Add access control for MsgRemoveResourceNode/MsgRemoveMetaNode
Xiong-stratos Mar 30, 2023
7a3c829
Remove unnecessary validation.
Xiong-stratos Mar 30, 2023
458ec96
Fix int64 overflow issue for reward distribution
Xiong-stratos Mar 31, 2023
a01fcfe
Fix: BLSSignature parameter lost in the rest API
Xiong-stratos Mar 31, 2023
a2f37ef
Revert "Fix evm contract destroy"
BoThe1K Apr 2, 2023
4f9d1e0
Rm dletion of the code which was stored
BoThe1K Apr 3, 2023
aa02786
- qb1752: fix deletion in iteration while DequeueAllMatureUBDQueue
jialbai Apr 3, 2023
dcf76d2
Fix: Validate reporters with threshold for MsgUpdateEffectiveStake
Xiong-stratos Apr 3, 2023
ddef1b8
1, Verify bls signature with threshold
Xiong-stratos Apr 3, 2023
fd83517
Merge pull request #237 from stratosnet/qb1733_fileUpload_fix_for_audit
alexstratos Apr 3, 2023
da55723
Merge pull request #240 from stratosnet/qb1751_Inconsistent_token_denoms
alexstratos Apr 4, 2023
0b8ea4d
Merge pull request #241 from stratosnet/qb1747_fix-validation-of-MsgU…
alexstratos Apr 4, 2023
d880873
Merge pull request #242 from stratosnet/qb1750_epoch_overflow
alexstratos Apr 4, 2023
853768a
Merge pull request #243 from stratosnet/qb1749_empty_bls_signature_in…
alexstratos Apr 4, 2023
66b88a3
Merge pull request #244 from stratosnet/fix-EVM-set-code
alexstratos Apr 4, 2023
a954ffe
Merge branch 'audit' into qb1770_MsgUpdateEffectiveStake_validate_thr…
Xiong-stratos Apr 4, 2023
8bcea39
Merge pull request #245 from stratosnet/qb1770_MsgUpdateEffectiveStak…
Xiong-stratos Apr 4, 2023
bda3a12
Merge branch 'audit' into qb-1748_access_control_for_remove_rs_node
Xiong-stratos Apr 4, 2023
d12aa70
conflict solve
Xiong-stratos Apr 4, 2023
34addbb
remove return value ozoneLimitChange from UnbondResourceNode()
Xiong-stratos Apr 4, 2023
5c46ae6
Verify the value of hashed volumeReport sign data equals to txData fr…
Xiong-stratos Apr 4, 2023
cf99db8
- qb1752: fix deletion in iteration while DequeueAllMatureUBDQueue
jialbai Apr 5, 2023
dcc47c3
Verify txDataHash before blsSignature validation
Xiong-stratos Apr 5, 2023
3c04493
Merge pull request #246 from stratosnet/qb1317_verify_bls_signature_f…
alexstratos Apr 5, 2023
82b7224
Merge pull request #248 from stratosnet/qb1747_fix-validation-and-del…
alexstratos Apr 5, 2023
701a4ef
Merge pull request #239 from stratosnet/qb-1748_access_control_for_re…
Xiong-stratos Apr 5, 2023
dc56e09
Merge branch 'dev' into audit
Xiong-stratos Apr 12, 2023
2381c29
Merge pull request #249 from stratosnet/audit
Xiong-stratos Apr 12, 2023
9f1fbba
error fix
Xiong-stratos Apr 12, 2023
4cfe4d6
Merge pull request #250 from stratosnet/err_fix
jinzuo-qsn Apr 12, 2023
b7c24e1
1, Add minimum stake limit param to genesis file.
Xiong-stratos Apr 18, 2023
1cd8ebf
Add not null constraint & json tags to proto files.
Xiong-stratos Apr 18, 2023
6947c13
MsgUpdateResourceNodeStake only allow to add stake
Xiong-stratos Apr 19, 2023
9c76fc4
Merge pull request #252 from stratosnet/qb1773_minimum_sds_staking
alexstratos Apr 24, 2023
e9ea0a1
fix
Xiong-stratos Apr 25, 2023
8ba9be9
Merge pull request #254 from stratosnet/threshold_fix
alexstratos Apr 25, 2023
d163325
1, Add minimum stake limit param to genesis file.
Xiong-stratos Apr 18, 2023
b79f15a
Add not null constraint & json tags to proto files.
Xiong-stratos Apr 18, 2023
a7df039
MsgUpdateResourceNodeStake only allow to add stake
Xiong-stratos Apr 19, 2023
14836dd
fix
Xiong-stratos Apr 25, 2023
9fb7f3d
Feat/Qb-1744:Reward distribution process refactor (#251)
Xiong-stratos Apr 25, 2023
afdaeef
Merge remote-tracking branch 'origin/audit' into audit
Xiong-stratos Apr 26, 2023
4d648f7
Merge pull request #255 from stratosnet/audit
jinzuo-qsn Apr 26, 2023
d94f537
Add query: circulationSupply
Xiong-stratos Apr 27, 2023
6207de4
Keep the total supply constant. (#258)
Xiong-stratos May 1, 2023
ece8cd3
QB-1793 Update Dockerfile (#253)
weichen-qsnetwork May 1, 2023
0aa9be7
Merge branch 'dev' into qb-1808_query_circulation_supply
Xiong-stratos May 2, 2023
9d32e8b
Merge pull request #257 from stratosnet/qb-1808_query_circulation_supply
Xiong-stratos May 2, 2023
75d6109
implement missing/outdated rest apis
Xiong-stratos May 8, 2023
1a7cdd6
Merge pull request #260 from stratosnet/add_missing_query_api
alexstratos May 17, 2023
b575a43
Release to dev (#268)
alexstratos May 19, 2023
ee7f850
fix missing access control
Xiong-stratos May 15, 2023
c4dc940
- qb1840: vote pool related optimization
jialbai May 16, 2023
83a09cb
add mutex for cache
Xiong-stratos May 16, 2023
df36e87
- qb1835: rename votingValidityPeriod as votingPeriod
jialbai May 17, 2023
c6ce082
resource node & meta node should not use the same network address
Xiong-stratos May 17, 2023
46d9fac
- qb1835: remove flag isPassingVote
May 18, 2023
9f4ec3d
- qb1835: remove unused key is_passing_vote
May 18, 2023
e3e181f
Merge pull request #269 from stratosnet/audit
jinzuo-qsn May 19, 2023
808f113
disable total supply reset function
Xiong-stratos May 24, 2023
27f1b08
Merge pull request #270 from stratosnet/disable_restore_total_supply
alexstratos May 24, 2023
337f502
bug fix
Xiong-stratos May 24, 2023
571cde7
Merge pull request #271 from stratosnet/mutex_bug_fix
alexstratos May 24, 2023
2d6d42b
Merge pull request #272 from stratosnet/audit
alexstratos May 24, 2023
b5ce2df
staking reward only apply to validators, remove the traversal of reso…
Xiong-stratos May 26, 2023
815b0c6
Update tx pool loading + rfactor web3 rpc starting point
BoThe1K May 29, 2023
c3bb6a1
1, Move reward distribution logic back to volumeReport tx.
Xiong-stratos May 29, 2023
8f1e08f
Merge pull request #273 from stratosnet/qb-1836_reward_distribution_r…
alexstratos May 29, 2023
07f16b3
stake renaming
Xiong-stratos May 31, 2023
6e5e8e3
Merge branch 'dev' into audit
Xiong-stratos May 31, 2023
34a685a
Merge pull request #274 from stratosnet/QB-1863/update-tx-pool
alexstratos Jun 1, 2023
272c20a
Merge pull request #275 from stratosnet/audit
alexstratos Jun 1, 2023
a3ca999
Merge branch 'dev' into qb-1874_rename_stake_to_deposit
Xiong-stratos Jun 1, 2023
24b324c
update
Xiong-stratos Jun 1, 2023
933ece4
Merge pull request #276 from stratosnet/qb-1874_rename_stake_to_deposit
alexstratos Jun 1, 2023
aba9bfb
Fix incorrect default value usage (#277)
Xiong-stratos Jun 1, 2023
cb03818
remove resource/meta node cache to prevent concurrent issue. (#278)
Xiong-stratos Jun 1, 2023
b05d09e
Qb 1816 - implement proxy, add prepay (#265)
BoThe1K Jun 2, 2023
99e2e90
update for conflicts
alexstratos Jun 2, 2023
b0405be
update for conflicts
alexstratos Jun 2, 2023
c25555b
Qb 1816 - implement proxy, add prepay (#265) (#279)
alexstratos Jun 2, 2023
f6a07a1
update for conflicts
alexstratos Jun 2, 2023
a9ff13a
fix the conflicts of merge
alexstratos Jun 2, 2023
9a6d60a
fix/qb1866: fix token supply (#280)
bjlqsnetwork Jun 12, 2023
b21d067
add address convert api (#281)
Xiong-stratos Jun 12, 2023
5894ea3
- qb1864: impl update sp deposit (#282)
bjlqsnetwork Jun 16, 2023
109574b
Feat/QB-1883: Mainnet preparation (#283)
Xiong-stratos Jun 16, 2023
59c4944
Revert "Qb 1816 - implement proxy, add prepay (#265)" (#285)
BoThe1K Jun 20, 2023
9e234d2
cherry-pick fix/qb1866: fix token supply
alexstratos Jun 20, 2023
ef7a686
Audit conflict resolve (#291)
alexstratos Jul 6, 2023
959f789
Merge branch 'dev' into audit
alexstratos Jul 6, 2023
f3ff08b
Merge pull request #287 from stratosnet/audit
jinzuo-qsn Jul 6, 2023
46c5abd
Merge branch 'release' into dev
alexstratos Jul 6, 2023
6385255
Merge pull request #293 from stratosnet/dev
jinzuo-qsn Jul 7, 2023
e6ef3f9
remove github workflow config
alexstratos Jul 10, 2023
c530565
Merge branch 'release' of https://github.com/stratosnet/stratos-chain…
alexstratos Jul 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ vendor/
playground.go
/tmp-swagger-gen/
/github.com/
.DS_Store
55 changes: 36 additions & 19 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,41 +1,58 @@
# Simple usage with a mounted data directory:
# > docker build -t stratos-chain .
# > docker run -it -p 46657:46657 -p 46656:46656 -v ~/.stratos-chain:/stratos-chain/.stratos-chain stratos-chain stratos-chain init
# > docker run -it -p 46657:46657 -p 46656:46656 -v ~/.stratos-chain:/stratos-chain/.stratos-chain stratos-chain stratos-chain start
FROM golang:1.15-alpine AS build-env
FROM golang:1.19-alpine AS build-env

# Set up dependencies
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3 \
gmp-dev flex bison

# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES
# Install pdc
RUN wget https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz \
&& tar -xf pbc-0.5.14.tar.gz \
&& cd pbc-0.5.14/ \
&& ./configure \
&& make \
&& make install \
&& ldconfig / \
&& cd .. && rm -rf pbc-0.5.14/ pbc-0.5.14.tar.gz

# Set working directory for the build
WORKDIR /go/src/github.com/stratosnet/stratos-chain

# Add source files
COPY . .
RUN make install

RUN go version

# Install minimum necessary dependencies, build Cosmos SDK, remove packages
RUN apk add --no-cache $PACKAGES && \
make install

# Final image
FROM alpine:edge

ENV STRATOS /stchaind
ENV WORK_DIR /stchaind
ENV RUN_AS_USER stratos

# Install ca-certificates
RUN apk add --update ca-certificates
RUN apk add --update ca-certificates gmp-dev

RUN addgroup stratos && \
adduser -S -G stratos stratos -h "$STRATOS"
ARG chain_id
ARG moniker
ARG uid=2048
ARG gid=2048

USER stratos
RUN addgroup --gid $gid "$RUN_AS_USER" && \
adduser -S -G "$RUN_AS_USER" --uid $uid "$RUN_AS_USER" -h "$WORK_DIR"

WORKDIR $STRATOS
ENV CHAIN_ID=${chain_id:-DEFAULT}
ENV MONIKER=${moniker:-stratos-node}
WORKDIR $WORK_DIR

# Copy over binaries from the build-env
COPY --from=build-env /go/bin/stchaind /usr/bin/stchaind
COPY --from=build-env /usr/local/lib/libpbc.so.1.0.0 /usr/local/lib/libpbc.so.1.0.0

RUN cd /usr/local/lib && { ln -s -f libpbc.so.1.0.0 libpbc.so.1 || { rm -f libpbc.so.1 && ln -s libpbc.so.1.0.0 libpbc.so.1; }; } \
&& cd /usr/local/lib && { ln -s -f libpbc.so.1.0.0 libpbc.so || { rm -f libpbc.so && ln -s libpbc.so.1.0.0 libpbc.so; }; }

# Run stchaind by default, omit entrypoint to ease using container with stchaincli
CMD ["stchaind"]
COPY entrypoint.sh /usr/bin/entrypoint.sh
RUN chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
CMD ["stchaind start"]
23 changes: 21 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/usr/bin/make -f

BUILDDIR ?= $(CURDIR)/build

APP_VER := v0.9.0
APP_VER := v0.10.0
COMMIT := $(GIT_COMMIT_HASH)
TEST_DOCKER_REPO=stratos-chain-e2e

ifeq ($(COMMIT),)
VERSION := $(APP_VER)
VERSION := $(APP_VER)
else
VERSION := $(APP_VER)-$(COMMIT)
endif
Expand Down Expand Up @@ -37,6 +40,12 @@ build-windows: go.sum
clean:
rm -rf $(BUILDDIR)/

coverage:
go test ./... -coverprofile cover.out -coverpkg=./...
go tool cover -html cover.out -o cover.html
go tool cover -func cover.out | grep total:
rm cover.out

###############################################################################
### Localnet ###
###############################################################################
Expand All @@ -54,4 +63,14 @@ localnet-start: build-linux localnet-stop
localnet-stop:
docker-compose down

build-docker-e2e:
@docker build -f tests/e2e/Dockerfile -t ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) --build-arg uid=$(shell id -u) --build-arg gid=$(shell id -g) .
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:$(shell git rev-parse --abbrev-ref HEAD | sed 's#/#_#g')
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:latest

build-docker:
@docker build -f Dockerfile -t ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) --build-arg uid=$(shell id -u) --build-arg gid=$(shell id -g) .
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:$(shell git rev-parse --abbrev-ref HEAD | sed 's#/#_#g')
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:latest

.PHONY: build-linux build-mac build clean
3 changes: 0 additions & 3 deletions app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ func NewAnteHandler(options HandlerOptions) sdk.AnteHandler {
case "/stratos.evm.v1.ExtensionOptionsEthereumTx":
// handle as *evmtypes.MsgEthereumTx
anteHandler = newEthAnteHandler(options)
case "/stratos.types.v1.ExtensionOptionsWeb3Tx":
// handle as normal Cosmos SDK tx, except signature is checked for EIP712 representation
anteHandler = newCosmosAnteHandlerEip712(options)
default:
return ctx, sdkerrors.Wrapf(
sdkerrors.ErrUnknownExtensionOptions,
Expand Down
Loading