This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/btcsuite/btcd/rpcclient" | |
"os" | |
) | |
func main() { | |
// Command-line arguments: address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.jsonwebtoken.ExpiredJwtException | |
import io.jsonwebtoken.Jwts | |
import io.jsonwebtoken.MalformedJwtException | |
import io.jsonwebtoken.SignatureAlgorithm | |
import io.jsonwebtoken.UnsupportedJwtException | |
import org.bouncycastle.jce.ECNamedCurveTable | |
import org.bouncycastle.jce.provider.BouncyCastleProvider | |
import org.bouncycastle.jce.spec.ECNamedCurveParameterSpec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if the number of arguments is correct | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: ./get_and_watch_logs.sh <namespace> <prefix>" | |
exit 1 | |
fi | |
namespace="$1" | |
prefix="$2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The global section has parameters that apply globally to the relayer operation. | |
[global] | |
# Specify the verbosity for the relayer logging output. Default: 'info' | |
# Valid options are 'error', 'warn', 'info', 'debug', 'trace'. | |
log_level = 'trace' | |
# Specify the mode to be used by the relayer. [Required] | |
[mode] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jsonrpc": "2.0", | |
"id": -1, | |
"result": { | |
"round_state": { | |
"height/round/step": "8485556/20/6", | |
"start_time": "2022-12-01T23:55:49.210791387Z", | |
"proposal_block_hash": "8162FAF025D1F4F735BA6872A5E686F78E3C6C0C1685949DEBB4B1FE6256B2B7", | |
"locked_block_hash": "", | |
"valid_block_hash": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package types | |
import ( | |
"testing" | |
sdk "github.com/cosmos/cosmos-sdk/types" | |
"github.com/stretchr/testify/assert" | |
) | |
func TestMarkerAddressLength(t *testing.T) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://x25519.ulfheim.net/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# I'm using a provenance "run" instance for these tests | |
# provenance setup, clean project, make, adjust the voting period in the config to test msg based fee proposals: | |
# 'make clean ; make build; make run-config; cat ./build/node0/config/genesis.json | jq '\'' .app_state.gov.voting_params.voting_period="20s" '\'' | tee ./build/node0/config/genesis.json; cat ./build/node0/config/genesis.json' | |
PROVENANCE_DEV_DIR=~/provenance | |
COMMON_TX_FLAGS="--gas auto --gas-prices 1905nhash --gas-adjustment 2 --chain-id chain-local --keyring-backend test --yes -o json" | |
######################################### SETUP FOR ATS CONTRACT EXECUTION ############################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# I'm using a provenance "run" instance for these tests | |
# provenance setup, clean project, make, adjust the voting period in the config to test msg based fee proposals: | |
# 'make clean ; make build; make run-config; cat ./build/node0/config/genesis.json | jq '\'' .app_state.gov.voting_params.voting_period="20s" '\'' | tee ./build/node0/config/genesis.json; cat ./build/node0/config/genesis.json' | |
PROVENANCE_DEV_DIR=~/provenance | |
COMMON_TX_FLAGS="--gas auto --gas-prices 1905nhash --gas-adjustment 2 --chain-id chain-local --keyring-backend test --yes -o json" | |
######################################### SETUP FOR ATS CONTRACT EXECUTION ############################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ========= | |
# demo: https://github.com/JetBrains/Exposed/tree/master/src/test/kotlin/demo | |
# dml tests: https://github.com/JetBrains/Exposed/blob/master/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/DMLTests.kt | |
# ===== GIS | |
https://github.com/JetBrains/Exposed/issues/459 | |
# === native |
NewerOlder