Skip to content

Commit

Permalink
fix(agoric-cli)!: use transfer port for ibc-go.transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 4, 2022
1 parent 1daf09d commit dd727ef
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/agoric-cli/src/chain-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ export const STAKING_MAX_VALIDATORS = 150;
// Required for IBC connections not to time out.
export const STAKING_MIN_HISTORICAL_ENTRIES = 10000;

// We reserve the default `transfer` IBC port for Pegasus (JS-level ERTP
// assets). The `cosmos-transfer` IBC port is used for ibc-go (Cosmos-level
// prefixed string token denominations).
export const COSMOS_TRANSFER_PORT_ID = 'cosmos-transfer';

export const DENOM_METADATA = [
{
name: 'Agoric Staking Token',
Expand Down Expand Up @@ -192,8 +187,6 @@ export function finishCosmosGenesis({ genesisJson, exportedGenesisJson }) {
STAKING_MIN_HISTORICAL_ENTRIES,
);

genesis.app_state.transfer.port_id = COSMOS_TRANSFER_PORT_ID;

// We scale this parameter according to our own block cadence, so
// that we tolerate the same downtime as the old genesis.
genesis.app_state.slashing.params.signed_blocks_window = `${Math.ceil(
Expand Down

0 comments on commit dd727ef

Please sign in to comment.