curl '172.21.0.3:8545' -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":83}'
result
{ "id":83, "jsonrpc": "2.0", "result": "0x4b7" }
SELLER_INFO_TYPE_HASH: constant(bytes32) = keccak256("SellerERC721Addresses(address addr)SellerInfo(address addr,address erc20_address,seller_erc721_addresses SellerERC721Addresses)") | |
# SELLER_INFO_TYPE_HASH: constant(bytes32) = keccak256("SellerInfo(address addr,address erc20_address)") | |
SELLER_ERC721_ADDRESSES_TYPE_HASH: constant(bytes32) = keccak256("SellerERC721Addresses(address addr)") | |
@external | |
def checkSellerSignature(_sellers_signing_account:address, _signature: Bytes[65], _seller_address: address, _seller_ERC20_address: address, _seller_info: Seller_Info) -> bytes32: | |
assert _seller_address != ZERO_ADDRESS, "invalid _seller_address" | |
assert _seller_ERC20_address != ZERO_ADDRESS, "invalid _seller_ERC20_address" | |
assert _seller_info.erc721_addresses[0].nft_address == 0x0FD4C4Ef9Bbe66217Eb790E5D42A5cC103eeFC90 | |
assert _seller_info.erc721_addresses[0].price == 5 |
Answer inspired from. | |
https://stackoverflow.com/a/58486539/3422861 | |
My issue cause multiple pytest config and one that cause pytest to run in parallel. | |
https://github.com/vyperlang/vyper/blob/master/setup.cfg#L28 | |
https://github.com/vyperlang/vyper/blob/82f44eea2c7be79c6db805c1aa873fabbe0118b7/setup.cfg#L28 | |
remove -n auto flag option or remove any flag that will cause pytest to run in parallel. |
rinkeby: { | |
provider: function () { | |
return new HDWalletProvider(MNEMONIC, rinkebyNodeUrl); | |
}, | |
gas: 5000000, | |
network_id: 4, | |
}, |
[email protected]:26656 | |
[email protected]:26656 | |
[email protected]:26656 | |
[email protected]:26656 | |
[email protected]:26656 |
(py385) ~/dev/sandbox-af/SmartBCHhealthCheck ⮀ main● ⮀ 4h49m ⮀ curl 'https://smartbch.greyh.at/mainnet' -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"tm_nodeInfo","params":[],"id":1}' | |
{"jsonrpc":"2.0","id":1,"result":{"is_validator":false,"validator_index":0,"height":1920280,"seed":"[email protected]:26656","consensus_pub_key":"cA+f3YBN4oFdcsoBIefrfNICWfSI72HJ14vvg34ibL0=","app_state":{"validators":[{"address":"0x9a6dd2f7ceb71788de691844d16b6b6852f07aa3","pubkey":"0xfbdc5c690ab36319d6a68ed50407a61d95d0ec6a6e9225a0c40d17bd8358010e","reward_to":"0x9a6dd2f7ceb71788de691844d16b6b6852f07aa3","voting_power":10,"introduction":"matrixport","staked_coins":"0x0000000000000000000000000000000000000000000000000000000000000000","is_retiring":false},{"address":"0x7dd41d92235cbbe0d2fe4ebd548cdd29f9befe5e","pubkey":"0x45caa8b683a1838f6cf8c3de60ef826ceaac27351843bc9f8c84cedb7da9a8a0","reward_to":"0x7dd41d92235cbbe0d2fe4ebd548cdd29f9befe5e","voting_power":1,"intro |
import { | |
blob, | |
Blob, | |
greedy, | |
Layout, | |
nu64, | |
seq, | |
struct, | |
Structure, | |
u16, |
curl https://mango.devnet.rpcpool.com -X POST -H "Content-Type: application/json" -d ' | |
{ | |
"jsonrpc": "2.0", | |
"id": 1, | |
"method": "getAccountInfo", | |
"params": [ | |
"8mFQbdXsFXt3R3cu3oSNS3bDZRwJRP18vyzd9J278J9z", | |
{ | |
"encoding": "base64" | |
} |
/*use with custome style script extension*/ | |
._8Rm4L, .AcVnq { | |
margin-bottom: 0px; | |
} | |
.Ppjfr{ | |
height: 40px | |
} | |
.MEAGs{ | |
height: 40px |
# Use envFrom to load Secrets and ConfigMaps into environment variables | |
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: mans-not-hot | |
labels: | |
app: mans-not-hot | |
spec: | |
replicas: 1 |