Skip to content

Commit

Permalink
Merge pull request #1072 from alleslabs/release/v1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpeach authored Aug 6, 2024
2 parents b563e1f + e46aa24 commit d90c5c5
Show file tree
Hide file tree
Showing 94 changed files with 3,371 additions and 582 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

## v1.7.3

### Features

- [#1058](https://github.com/alleslabs/celatone-frontend/pull/1058) Show chain config JSON and remove modal
- [#1057](https://github.com/alleslabs/celatone-frontend/pull/1057) Add local minitias to network selector
- [#1043](https://github.com/alleslabs/celatone-frontend/pull/1043) Save custom minitias JSON form to localstorage
- [#1059](https://github.com/alleslabs/celatone-frontend/pull/1059) Disable add custom networks on non initia deployments
- [#1052](https://github.com/alleslabs/celatone-frontend/pull/1052) Add entry point to add custom minitias network in network selector
- [#1038](https://github.com/alleslabs/celatone-frontend/pull/1038) Add custom networks options page to navigate between manual and upload json
- [#1054](https://github.com/alleslabs/celatone-frontend/pull/1054) Add chain config store, useChainConfig hook, and apply it all places

### Improvements

- [#1062](https://github.com/alleslabs/celatone-frontend/pull/1062) Adjust edit minitia layout and other minor styling
- [#1061](https://github.com/alleslabs/celatone-frontend/pull/1061) Refactor custom network routes and add support chain ids to hook
- [#1053](https://github.com/alleslabs/celatone-frontend/pull/1053) Move move decoder and verifier links to env

### Bug fixes

- [#1063](https://github.com/alleslabs/celatone-frontend/pull/1063) Fix bug bash for add custom networks
- [#1069](https://github.com/alleslabs/celatone-frontend/pull/1069) Fix add custom minitia network manually
- [#1065](https://github.com/alleslabs/celatone-frontend/pull/1065) Fix zod url validation to allow only http and https in add custom minitia page
- [#1064](https://github.com/alleslabs/celatone-frontend/pull/1064) Fix cancel button in add custom minitia page
- [#1068](https://github.com/alleslabs/celatone-frontend/pull/1068) Add fetching bech32 prefix from lcd and disable close success modal on overlay click
- [#1067](https://github.com/alleslabs/celatone-frontend/pull/1067) Add gas fee details to support more decimal digits and add default value
- [#1066](https://github.com/alleslabs/celatone-frontend/pull/1066) Remove add custom minitia supported feature step and add vm type in network detail
- [#1050](https://github.com/alleslabs/celatone-frontend/pull/1050) Fix gap between network subsection

## v1.7.2

### Features
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "celatone",
"version": "1.7.2",
"version": "1.7.3",
"author": "Alles Labs",
"contributors": [
{
Expand Down Expand Up @@ -42,10 +42,11 @@
"build-storybook": "storybook build"
},
"dependencies": {
"@alleslabs/shared": "1.0.0-dev2",
"@amplitude/analytics-browser": "^2.3.3",
"@amplitude/analytics-types": "^2.3.0",
"@amplitude/plugin-user-agent-enrichment-browser": "^1.0.0",
"@chain-registry/types": "0.17.0",
"@chain-registry/types": "0.45.36",
"@chakra-ui/anatomy": "^2.2.2",
"@chakra-ui/card": "^2.2.0",
"@chakra-ui/icons": "^2.1.1",
Expand All @@ -72,6 +73,7 @@
"@emotion/styled": "^11.11.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@hookform/resolvers": "^3.9.0",
"@initia/initia.js": "0.2.5",
"@initia/initia.proto": "0.2.0",
"@initia/utils": "0.62.0",
Expand Down
62 changes: 43 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 0 additions & 21 deletions src/config/chain/initia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import { wallets as keplrWallets } from "@cosmos-kit/keplr";

import type { ChainConfigs } from "./types";

const INITIA_DECODER =
"https://initia-api-jiod42ec2q-as.a.run.app/decode_module";

export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
"minimove-1-lite": {
tier: "lite",
Expand All @@ -29,8 +26,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -80,8 +75,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -131,8 +124,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "https://compiler.initiation-1.initia.xyz/contracts/verify",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -184,8 +175,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -285,8 +274,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -336,8 +323,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -387,8 +372,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -438,8 +421,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down Expand Up @@ -488,8 +469,6 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: INITIA_DECODER,
verify: "",
},
pool: {
enabled: false,
Expand Down
4 changes: 1 addition & 3 deletions src/config/chain/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ type MoveConfig =
| {
enabled: true;
moduleMaxFileSize: number;
decodeApi: string;
verify: string;
}
| { enabled: false };

Expand Down Expand Up @@ -58,7 +56,7 @@ export interface ChainConfig {
registryChainName: string;
prettyName: string;
logoUrl?: string;
networkType: "mainnet" | "testnet";
networkType: "mainnet" | "testnet" | "devnet" | "local";
lcd: string;
rpc: string;
indexer: string;
Expand Down
6 changes: 6 additions & 0 deletions src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ export const CELATONE_API_OVERRIDE =

export const HASURA_ADMIN_SECRET =
process.env.NEXT_PUBLIC_HASURA_ADMIN_SECRET ?? "";

export const INITIA_MOVE_DECODER =
process.env.NEXT_PUBLIC_INITIA_MOVE_DECODER ?? "";

export const INITIA_MOVE_VERIFIER =
process.env.NEXT_PUBLIC_INITIA_MOVE_VERIFIER ?? "";
Loading

0 comments on commit d90c5c5

Please sign in to comment.