gitcoindev / ubiquity-dollar

Ubiquity Dollar (uAD) smart contracts and user interface.
https://uad.ubq.fi
Apache License 2.0
0 stars 0 forks source link

Anvil deployments #1

Open gitcoindev opened 1 year ago

github-actions[bot] commented 1 year ago

https://deutsche-lm-freeze-spain.trycloudflare.com

gitcoindev commented 1 year ago

QA: accessing deployed GitHub actions Anvil instance https://deutsche-lm-freeze-spain.trycloudflare.com/, mining two blocks and getting the eth_blockNumber:

$ curl --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://deutsche-lm-freeze-spain.trycloudflare.com
{"jsonrpc":"2.0","id":1,"result":"0x0"}
$ curl --data '{"method":"evm_mine","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://deutsche-lm-freeze-spain.trycloudflare.com
{"jsonrpc":"2.0","id":1,"result":"0x0"}
$ curl --data '{"method":"evm_mine","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://deutsche-lm-freeze-spain.trycloudflare.com
{"jsonrpc":"2.0","id":1,"result":"0x0"}
$ curl --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://deutsche-lm-freeze-spain.trycloudflare.com
{"jsonrpc":"2.0","id":1,"result":"0x2"} 
github-actions[bot] commented 1 year ago

https://patients-chose-pets-registration.trycloudflare.com

github-actions[bot] commented 1 year ago

Started cloudflared tunnel.

github-actions[bot] commented 1 year ago

Cloudflared tunnel shutdown.

github-actions[bot] commented 1 year ago

Cloudflared tunnel started.

gitcoindev commented 1 year ago

QA: accessing deployed GitHub actions Anvil instance ona custom domain, mining two blocks and getting the eth_blockNumber:

$ curl --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://anvil.domain.xyz
{"jsonrpc":"2.0","id":1,"result":"0x0"}10:43:56 ~$ 
$ curl --data '{"method":"evm_mine","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://anvil.domain.xyz
{"jsonrpc":"2.0","id":1,"result":"0x0"}10:44:19 ~$ 
$ curl --data '{"method":"evm_mine","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://anvil.domain.xyz
{"jsonrpc":"2.0","id":1,"result":"0x0"}10:44:21 ~$ 
$ curl --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://anvil.domain.xyz
{"jsonrpc":"2.0","id":1,"result":"0x2"}10:44:41 ~$ 
github-actions[bot] commented 1 year ago

Cloudflared tunnel shutdown.

gitcoindev commented 1 year ago

After tunnel shutdown, trying to access Anvil returns error code: 1033 :

$ curl --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://anvil.domain.xyz
error code: 1033