- Full changelog: 0.0.37...0.0.38
- Docker Image:
ghcr.io/erpc/erpc:0.0.38
Changelog
- 250ddd2: fix: avoid extra request when retrying empty responses (@aramalipoor)
- 54e3cb3: fix: consider any non-2xx as error (@aramalipoor)
- aacee93: fix: correct comma delimiter when merging getLogs sub-requests (@aramalipoor)
- f958074: fix: correct handling of splitted getLogs empty responses (@aramalipoor)
- 7467bbe: fix: correct upstream init for repository provider (@aramalipoor)
- 2b3f767: fix: dedicated error code for reverted calls to avoid retry (@aramalipoor)
- 42c5004: fix: normalize null responses of eth_getLogs to empty array (@aramalipoor)
- a5819a3: fix: retry client-error unless explicitly configured (@aramalipoor)
Quick start
- Create your
erpc.yaml
configuration file:
touch erpc.yaml
code erpc.yaml
- Use the Docker image:
docker run \
-v $(pwd)/erpc.yaml:/root/erpc.yaml
-p 4000:4000 -p 4001:4001 \
ghcr.io/erpc/erpc:0.0.38
- Send your first request:
curl --location 'http://localhost:4000/main/evm/42161' \
--header 'Content-Type: application/json' \
--data '{
"method": "eth_getBlockByNumber",
"params": [
"0x1203319",
false
],
"id": 9199,
"jsonrpc": "2.0"
}'