Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
swelf19 committed Jan 16, 2025
1 parent 584f7d7 commit ad9ac79
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,13 @@ proto-format:
test-sim-import-export \

init: kill-dev install-test-binary
@echo "Building gaiad binary..."
@cd ./../gaia/ && make install
# @echo "Building gaiad binary..."
# @cd ./../gaia/ && make install
@echo "Initializing both blockchains..."
./network/init-and-start-both.sh
@echo "Initializing relayer..."
./network/hermes/restore-keys.sh
./network/hermes/create-conn.sh
# @echo "Initializing relayer..."
# ./network/hermes/restore-keys.sh
# ./network/hermes/create-conn.sh

start: kill-dev install-test-binary
@echo "Starting up neutrond alone..."
Expand Down
2 changes: 1 addition & 1 deletion app/ccv_msg_filter_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package app

const SkipCcvMsgFilter = false
const SkipCcvMsgFilter = true
26 changes: 13 additions & 13 deletions network/init-and-start-both.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ done;

"$script_full_path"/start.sh

export BINARY=gaiad
export CHAINID=test-2
export P2PPORT=16656
export RPCPORT=16657
export RESTPORT=1316
export ROSETTA=9080
export GRPCPORT=9090
export GRPCWEB=9091
export STAKEDENOM=uatom

"$script_full_path"/init.sh
"$script_full_path"/init-gaiad.sh
"$script_full_path"/start.sh
#export BINARY=gaiad
#export CHAINID=test-2
#export P2PPORT=16656
#export RPCPORT=16657
#export RESTPORT=1316
#export ROSETTA=9080
#export GRPCPORT=9090
#export GRPCWEB=9091
#export STAKEDENOM=uatom
#
#"$script_full_path"/init.sh
#"$script_full_path"/init-gaiad.sh
#"$script_full_path"/start.sh
4 changes: 2 additions & 2 deletions x/tokenfactory/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ package keeper

import (
"context"

"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"

"github.com/neutron-org/neutron/v5/x/tokenfactory/types"
)

Expand All @@ -29,6 +27,8 @@ func (server msgServer) CreateDenom(goCtx context.Context, msg *types.MsgCreateD

ctx := sdk.UnwrapSDKContext(goCtx)

//ctx.GasMeter().ConsumeGas(uint64(rand.Int31n(1000)), "")

denom, err := server.Keeper.CreateDenom(ctx, msg.Sender, msg.Subdenom)
if err != nil {
return nil, err
Expand Down

0 comments on commit ad9ac79

Please sign in to comment.