Skip to content

Instantly share code, notes, and snippets.

0x1f7ec12e77ea39e5da9a1d75b5a0d21105a6b36c0649fbaf7bcd435ab8a3992c

Apr 09 17:05:05 ip-172-31-40-188 regen[753]: panic: signature verification failed; please verify account number (0) and chain-id (regen-devnet-5): unauthorized
Apr 09 17:05:05 ip-172-31-40-188 regen[31857]: goroutine 1 [running]:
Apr 09 17:05:05 ip-172-31-40-188 regen[31857]: github.com/cosmos/cosmos-sdk/x/genutil.DeliverGenTxs(0x20aef40, 0xc00003e048, 0x20c4c80, 0xc00007f300, 0x0, 0x0, 0xc00108c710, 0xe, 0x0, 0x0, ...)
Apr 09 17:05:05 ip-172-31-40-188 regen[31857]: github.com/cosmos/cosmos-sdk@v0.42.0-rc0/x/genutil/gentx.go:113 +0x328
Apr 09 17:05:05 ip-172-31-40-188 regen[31857]: github.com/cosmos/cosmos-sdk/x/genutil.InitGenesis(...)
Apr 09 17:05:05 ip-172-31-40-188 regen[31857]: github.com/cosmos/cosmos-sdk@v0.42.0-rc0/x/genutil/genesis.go:18
Apr 09 17:05:05 ip-172-31-40-188 regen[31857]: github.com/cosmos/cosmos-sdk/x/genutil.AppModule.InitGenesis(0x20a9440, 0xc00015d200, 0x2071d60, 0xc000d79600, 0xc001093c40, 0x7f7758837158, 0xc00101a2c0, 0x20aef40, 0xc00003e048, 0x20c4c80, ...)
Apr 09 1
const connectToKeplr = async (): Promise<any> => {
if (window.keplr) {
window.keplr
.experimentalSuggestChain({
// Chain-id of the Regen chain.
chainId,
// The name of the chain to be displayed to the user.
chainName: 'Regen Devnet',
// RPC endpoint of the chain.
rpc: 'http://devnet.regen.network:26657',
alias simd='/path/to/simd'
SIMD_HOME=$(pwd)/.simd
CHAIN_ID=test-chain
##### Setup moniker, chain, homedir
simd init cory --chain-id $CHAIN_ID --home $SIMD_HOME
window.keplr.experimentalSuggestChain({
// Chain-id of the Cosmos SDK chain.
chainId: "regen-devnet-4",
// The name of the chain to be displayed to the user.
chainName: "Regen Devnet",
// RPC endpoint of the chain.
rpc: "http://devnet.regen.network:26657",
// REST endpoint of the chain.
rest: "https://devnet.regen.network",
// Staking coin information
@clevinson
clevinson / test.go
Last active November 23, 2020 23:48
Failing test from coinbase team when updating to v0.40.0-rc2 from v0.40.0-rc1
func TestFoo(t *testing.T) {
parsedMsg := &types.MsgCreateValidator{}
msg := `{"type":"cosmos-sdk/MsgCreateValidator","value":{"description":{"moniker":"tuba","identity":"asd123","website":"hi.com","details":"tuba123"},"commission":{"rate":"1.000000000000000000","max_rate":"1.000000000000000000","max_change_rate":"0.500000000000000000"},"min_self_delegation":"1000000","delegator_address":"cosmos12dfh66m5m2xq9qdqvu90u4n8lqnep8ymesu95a","validator_address":"cosmosvaloper12dfh66m5m2xq9qdqvu90u4n8lqnep8ymuygscw","pubkey":"cosmosvalconspub1zcjduepq3vqv2yeqju6jrf29trwz2zl8fy3lmamzgllsw8t224spal8mvpssenzes5","value":{"denom":"umuon","amount":"1000000"}}}`
cdc := makeAminoMarshaler()
err := cdc.UnmarshalJSON([]byte(msg), parsedMsg)
fmt.Println(err)
fmt.Println(parsedMsg)
}
// [Error Msg]: cannot parse disfix JSON wrapper: json: cannot unmarshal string into Go value of type amino.disfixWrapper
@echo "Installing protoc-gen-buf-check-breaking..."
@curl -sSL \
- "https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/protoc-gen-buf-check-breaking-${UNAME_S}-${UNAME_M}" \
- -o "${BIN}/protoc-gen-buf-check-breaking" && \
+ -o "${BIN}/protoc-gen-buf-check-breaking" \
+ "https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/protoc-gen-buf-check-breaking-${UNAME_S}-${UNAME_M}" && \
chmod +x "${BIN}/protoc-gen-buf-check-breaking"
@echo "Installing buf..."
@curl -sSL \
$ cargo wasm
error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads --target wasm32-unknown-unknown --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
--- stderr
error: the option `Z` is only accepted on the nightly compiler
[package]
name = "cypher"
version = "0.1.0"
authors = ["Cory Levinson <cjlevinson@gmail.com>"]
edition = "2018"
[dependencies]
hex = "0.3.2"
homebrew-radicle ; brew tap radicle-dev/radicle
==> Tapping radicle-dev/radicle
Cloning into '/usr/local/Homebrew/Library/Taps/radicle-dev/homebrew-radicle'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 1), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (8/8), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/radicle-dev/homebrew-radicle/Formula/version.rb
wrong number of arguments (given 4, expected 1)