Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Releases: hermeznetwork/hermez-node

v1.5.0-rc1

06 Jul 16:06
c35a41a
Compare
Choose a tag to compare

Fisht (v1.5.0)

Summary of the most relevant changes:

  • Updated SC ABIs to support London hard fork
  • Refactor of the API for better validation

Changelog

c35a41a Merge pull request #947 from hermeznetwork/hotfix/london-fork-abi
9a0963a moved binding and validation in requests to gin (#938)
69fcfa2 update contract proxies

v1.4.1-rc1

05 Jul 13:56
5a2a377
Compare
Choose a tag to compare

Teide (v1.4.0)

This version updates the Geth client to work with London hardfork

Changelog

cfc7635 Add account info sub-command
b9deca8 Coingecko ETH update (#918)
5a2a377 Feature/update geth 1.10.4 (#936)
e7f2b99 Improve output
5ef137b Improve readme
5f91d04 Linter fixes
484b275 Merge pull request #915 from hermeznetwork/feature/add-check-account-details-to-cmd-pkg

v1.4.0

05 Jul 08:51
ceac3aa
Compare
Choose a tag to compare

Teide (v1.4.0)

WARNING: this version introduces some changes that could affect already deployed systems, please make sure you understand this implications before updating:

  • Configuration file, new way to set the token prices:
[PriceUpdater]
Interval = "5s"
Priority = "bitfinexV2,CoinGeckoV3"
Statictokens="3=1.31,4=1.01"  # <tokenId>=<forced_price>,<tokenId>=<forced_price>

[PriceUpdater.Fiat]
APIKey=""
URL="https://api.exchangeratesapi.io/v1/"
BaseCurrency="USD"
Currencies="CNY,EUR,JPY,GBP"

[[PriceUpdater.Provider]]
Provider = "bitfinexV2"
BASEURL = "https://api-pub.bitfinex.com/v2/"
URL = "ticker/t"
URLExtraParams = "USD"
# token order ETH,HEZ,USDT,USDC,DAI,WBTC,WETH,XAUt,UNI,SUSHI,COMP,BAL,AAVE,YFI,LINK. Order based in tokenId.
# Available update methods:
# - ignore method don't update the price leave it as it is on the DB. Type ignore or leave the field empty
# - static method is performed writting the price in Statictokens.
# Example: Symbols = "0=ETH,1=HEZ,2=ignore,4=DAI,5=WBT,6=static,7=XAUT:,8=UNI,9=SUSHI:,10=COMP:,11=,12=AAVE:,13=YFI,14=LINK:"
Symbols = "0=ETH,2=UST,8=ignore,9=SUSHI:,5=WBT,14=LINK:,12=AAVE:,7=XAUT:,10=COMP:,6=ETH"

[[PriceUpdater.Provider]]
Provider = "CoinGeckoV3"
BASEURL = "https://api.coingecko.com/api/v3/"
URL = "simple/token_price/ethereum?contract_addresses="
URLExtraParams = "&vs_currencies=usd"
# token order ETH,HEZ,USDT,USDC,DAI,WBTC,WETH,XAUt,UNI,SUSHI,COMP,BAL,AAVE,YFI,LINK. Order based in tokenId.
# Available update methods:
# - ignore method don't update the price leave it as it is on the DB. Type ignore or leave the field empty
# - static method is performed writting the price in Statictokens.
# Example: Addresses="0=0x00,1=0x12,2=0x12,4=0x12,5=0x12,6=,7=0x12,8=,9=0x12,10=0x12,11=ignore,12=0x12,13=0x12,14=0x12"
Addresses="0=0x0000000000000000000000000000000000000000,2=0xdac17f958d2ee523a2206206994597c13d831ec7,8=ignore"

Summary of the most relevant changes:

  • Added endpoint to get fiat prices
  • Added structs to marshal JSONs in a more idiomatic way
  • Improved CI: avoid running unnecessary tests and build Docker images
  • Improved priceupdater, including how it's configured
  • Added coordinator forger balance to health endpoint
  • Allow token names with arbitrary length
  • Fix fromAccountIdx filter in GET /transactions-history
  • Fix exit balance
  • Fix pendingItems in GET /tokens
  • Adapt to API changes from Coingecko

Changelog

c989d2c Accounts endpoint checks query params
94b695a Add structure for AccountAPI and remove interface
971ae29 Add structure for exitAPIJSON and remove use of interface
6725b34 Add structure for txAPIJSON and remove interface
30ea449 Coingecko ETH update (#917)
a3f8502 Filter atomic txs
385daff Fix error after refactor
8aebbf2 Fix/remove swagger fiat (#934)
9bdc7e6 Merge pull request #834 from hermeznetwork/feature/#830-endpoint-query-parameters
98684f2 Merge pull request #842 from hermeznetwork/feature/marshalJSON-refactor
85ea8d5 Merge pull request #844 from hermeznetwork/fix/#843
677161a Merge pull request #855 from hermeznetwork/fix/853-higher-gas-price
a03d39f Merge pull request #925 from hermeznetwork/feature/filter-atmic-normalendpoint
ceac3aa Merge pull request #935 from hermeznetwork/release/v1.4.0-2
85fcd4f Price updater and fiat currency + endpoint (#828)
035e909 Turn the structs public
e6a8a73 added coordinator balance to health endpoint (#898)
34f7c5b build binaries with goreleaser and docker (#840)
9c57523 changed token name length (#896)
474b063 check if err or res are nil and create appropriate log (#864)
23d8ce8 fixed not working fromAccountIdx filter in txhistory request (#891)
e4503b8 fixed wrong exit balance (#895)
5a2acbe fixed wrong pending items for token request (#881)
d20f056 remove duplicated CI run (#827)
c4a5b73 remove me from the CODEOWNERS file (#836)
4de4fcc set eth_tx_hash by default to 0x0 (#851)
63d2f5d set min gas fee & convert gwei to wei before submit tx
514e866 tests
d8a81e6 uses higher gas price between etherscan service and ethereum node

v1.4.0-rc5

02 Jul 14:20
8aebbf2
Compare
Choose a tag to compare

Changelog

8aebbf2 Fix/remove swagger fiat (#934)

v1.4.0-rc4

02 Jul 09:11
a03d39f
Compare
Choose a tag to compare

Changelog

a3f8502 Filter atomic txs
a03d39f Merge pull request #925 from hermeznetwork/feature/filter-atmic-normalendpoint

v1.4.0-rc3

30 Jun 13:12
30ea449
Compare
Choose a tag to compare

Teide (v1.4.0)

Summary of most relevant changes:

  • Adapt to API changes from Coingecko

Changelog

30ea449 Coingecko ETH update (#917)

v1.4.0-rc2

29 Jun 13:41
9c57523
Compare
Choose a tag to compare

Teide (v1.4.0)

WARNING: this version introduces some changes that could affect already deployed systems, please make sure you understand this implications before updating:

  • Configuration file, new way to set the token prices:
[PriceUpdater]
Interval = "5s"
Priority = "bitfinexV2,CoinGeckoV3"
Statictokens="3=1.31,4=1.01"  # <tokenId>=<forced_price>,<tokenId>=<forced_price>

[PriceUpdater.Fiat]
APIKey=""
URL="https://api.exchangeratesapi.io/v1/"
BaseCurrency="USD"
Currencies="CNY,EUR,JPY,GBP"

[[PriceUpdater.Provider]]
Provider = "bitfinexV2"
BASEURL = "https://api-pub.bitfinex.com/v2/"
URL = "ticker/t"
URLExtraParams = "USD"
# token order ETH,HEZ,USDT,USDC,DAI,WBTC,WETH,XAUt,UNI,SUSHI,COMP,BAL,AAVE,YFI,LINK. Order based in tokenId.
# Available update methods:
# - ignore method don't update the price leave it as it is on the DB. Type ignore or leave the field empty
# - static method is performed writting the price in Statictokens.
# Example: Symbols = "0=ETH,1=HEZ,2=ignore,4=DAI,5=WBT,6=static,7=XAUT:,8=UNI,9=SUSHI:,10=COMP:,11=,12=AAVE:,13=YFI,14=LINK:"
Symbols = "0=ETH,2=UST,8=ignore,9=SUSHI:,5=WBT,14=LINK:,12=AAVE:,7=XAUT:,10=COMP:,6=ETH"

[[PriceUpdater.Provider]]
Provider = "CoinGeckoV3"
BASEURL = "https://api.coingecko.com/api/v3/"
URL = "simple/token_price/ethereum?contract_addresses="
URLExtraParams = "&vs_currencies=usd"
# token order ETH,HEZ,USDT,USDC,DAI,WBTC,WETH,XAUt,UNI,SUSHI,COMP,BAL,AAVE,YFI,LINK. Order based in tokenId.
# Available update methods:
# - ignore method don't update the price leave it as it is on the DB. Type ignore or leave the field empty
# - static method is performed writting the price in Statictokens.
# Example: Addresses="0=0x00,1=0x12,2=0x12,4=0x12,5=0x12,6=,7=0x12,8=,9=0x12,10=0x12,11=ignore,12=0x12,13=0x12,14=0x12"
Addresses="0=0x0000000000000000000000000000000000000000,2=0xdac17f958d2ee523a2206206994597c13d831ec7,8=ignore"

Summary of the most relevant changes:

  • Added endpoint to get fiat prices
  • Added structs to marshal JSONs in a more idiomatic way
  • Improved CI: avoid running unnecessary tests and build Docker images
  • Improved priceupdater, including how it's configured
  • Added coordinator forger balance to health endpoint
  • Allow token names with arbitrary length
  • Fix fromAccountIdx filter in GET /transactions-history
  • Fix exit balance
  • Fix pendingItems in GET /tokens

Changelog

e6a8a73 added coordinator balance to health endpoint (#898)
9c57523 changed token name length (#896)
23d8ce8 fixed not working fromAccountIdx filter in txhistory request (#891)
e4503b8 fixed wrong exit balance (#895)
5a2acbe fixed wrong pending items for token request (#881)
c989d2c Accounts endpoint checks query params
94b695a Add structure for AccountAPI and remove interface
971ae29 Add structure for exitAPIJSON and remove use of interface
6725b34 Add structure for txAPIJSON and remove interface
385daff Fix error after refactor
9bdc7e6 Merge pull request #834 from hermeznetwork/feature/#830-endpoint-query-parameters
98684f2 Merge pull request #842 from hermeznetwork/feature/marshalJSON-refactor
85ea8d5 Merge pull request #844 from hermeznetwork/fix/#843
677161a Merge pull request #855 from hermeznetwork/fix/853-higher-gas-price
85fcd4f Price updater and fiat currency + endpoint (#828)
035e909 Turn the structs public
34f7c5b build binaries with goreleaser and docker (#840)
474b063 check if err or res are nil and create appropriate log (#864)
d20f056 remove duplicated CI run (#827)
c4a5b73 remove me from the CODEOWNERS file (#836)
4de4fcc set eth_tx_hash by default to 0x0 (#851)
63d2f5d set min gas fee & convert gwei to wei before submit tx
514e866 tests
d8a81e6 uses higher gas price between etherscan service and ethereum node

v1.3.1

15 Jun 15:51
b66a3af
Compare
Choose a tag to compare

Saint Helens (v1.3.1)

This release includes a improved calculation of the gas price

Changelog

b66a3af Merge pull request #854 from hermeznetwork/hotfix/use-higher-gas-price
339707a change where the gasPrice variable is created
94e2a6c collect gasprice from etherscan and geth node and uses the higher
12a3ee3 put the log in correct place

v1.4.0-rc1

16 Jun 14:22
474b063
Compare
Choose a tag to compare

Teide (v1.4.0)

WARNING: this version introduces some changes that could affect already deployed systems, please make sure you understand this implications before updating:

  • Configuration file, new way to set the token prices:
[PriceUpdater]
Interval = "5s"
Priority = "bitfinexV2,CoinGeckoV3"
Statictokens="3=1.31,4=1.01"  # <tokenId>=<forced_price>,<tokenId>=<forced_price>

[PriceUpdater.Fiat]
APIKey=""
URL="https://api.exchangeratesapi.io/v1/"
BaseCurrency="USD"
Currencies="CNY,EUR,JPY,GBP"

[[PriceUpdater.Provider]]
Provider = "bitfinexV2"
BASEURL = "https://api-pub.bitfinex.com/v2/"
URL = "ticker/t"
URLExtraParams = "USD"
# token order ETH,HEZ,USDT,USDC,DAI,WBTC,WETH,XAUt,UNI,SUSHI,COMP,BAL,AAVE,YFI,LINK. Order based in tokenId.
# Available update methods:
# - ignore method don't update the price leave it as it is on the DB. Type ignore or leave the field empty
# - static method is performed writting the price in Statictokens.
# Example: Symbols = "0=ETH,1=HEZ,2=ignore,4=DAI,5=WBT,6=static,7=XAUT:,8=UNI,9=SUSHI:,10=COMP:,11=,12=AAVE:,13=YFI,14=LINK:"
Symbols = "0=ETH,2=UST,8=ignore,9=SUSHI:,5=WBT,14=LINK:,12=AAVE:,7=XAUT:,10=COMP:,6=ETH"

[[PriceUpdater.Provider]]
Provider = "CoinGeckoV3"
BASEURL = "https://api.coingecko.com/api/v3/"
URL = "simple/token_price/ethereum?contract_addresses="
URLExtraParams = "&vs_currencies=usd"
# token order ETH,HEZ,USDT,USDC,DAI,WBTC,WETH,XAUt,UNI,SUSHI,COMP,BAL,AAVE,YFI,LINK. Order based in tokenId.
# Available update methods:
# - ignore method don't update the price leave it as it is on the DB. Type ignore or leave the field empty
# - static method is performed writting the price in Statictokens.
# Example: Addresses="0=0x00,1=0x12,2=0x12,4=0x12,5=0x12,6=,7=0x12,8=,9=0x12,10=0x12,11=ignore,12=0x12,13=0x12,14=0x12"
Addresses="0=0x0000000000000000000000000000000000000000,2=0xdac17f958d2ee523a2206206994597c13d831ec7,8=ignore"

Summary of the most relevant changes:

  • Added endpoint to get fiat prices
  • Added structs to marshal JSONs in a more idiomatic way
  • Improved CI: avoid running unnecessary tests and build Docker images
  • Improved priceupdater, including how it's configured

Changelog

c989d2c Accounts endpoint checks query params
94b695a Add structure for AccountAPI and remove interface
971ae29 Add structure for exitAPIJSON and remove use of interface
6725b34 Add structure for txAPIJSON and remove interface
385daff Fix error after refactor
9bdc7e6 Merge pull request #834 from hermeznetwork/feature/#830-endpoint-query-parameters
98684f2 Merge pull request #842 from hermeznetwork/feature/marshalJSON-refactor
85ea8d5 Merge pull request #844 from hermeznetwork/fix/#843
677161a Merge pull request #855 from hermeznetwork/fix/853-higher-gas-price
85fcd4f Price updater and fiat currency + endpoint (#828)
035e909 Turn the structs public
34f7c5b build binaries with goreleaser and docker (#840)
474b063 check if err or res are nil and create appropriate log (#864)
d20f056 remove duplicated CI run (#827)
c4a5b73 remove me from the CODEOWNERS file (#836)
4de4fcc set eth_tx_hash by default to 0x0 (#851)
63d2f5d set min gas fee & convert gwei to wei before submit tx
514e866 tests
d8a81e6 uses higher gas price between etherscan service and ethereum node

v1.3.1-rc2

02 Jun 13:56
Compare
Choose a tag to compare

Changelog

12a3ee3 put the log in correct place