Releases: razor-network/oracle-node
2.0.0
The Oracle node v2.0.0
supports latest razor-network contracts having epoch time set to 7.5 minutes deployed on Europa Defi chain.
What's Changed
- chore: merge feature/v2.0.0 to develop by @Yashk767 in #1242
- hotfix: updated retry parameters and default timeouts by @Yashk767 in #1246
- hotfix: update epoch length to 7.5 minutes by @Yashk767 in #1247
- hotfix: updated mainnet addresses to 7.5 minute epoch contract addresses by @Yashk767 in #1248
- Releases/v2.0.0 by @Yashk767 in #1249
Full Changelog: 1.2.0...v2.0.0
1.2.0
Changes featured in v1.2.0
release
Fixes
- fix: APIs returning response of data type array of json objects not supported.
- fix: Fetching private key every time increases goroutine count
- fix: Every time a new http client was introduced for each request increases goroutine count
Faster processing
- Processing of jobs and collections concurrently.
- Caching jobs and collections.
- Optimised GetIteration implementation with concurrency.
- Optimised
CalculateBiggestStake
using batch calls forgetStakeSnapshot
contract calls
RPC Optimisation
- Reduce GetLatestBlock and GetStakerId calls
Refactor changes
- Refactor: Flag input function refactored using a single generic function
- Refactor: Config getters and setters module refactored using a generic function.
- Refactor: Refactored tests by removing redundant mocks and test util functions.
Config changes
- Updated default values for
logFileMaxAge
andlogFileMaxBackups
1.1.0-patch.1
1.1.0
Changes featured in release v1.1.0
- Added support for fetching API keys from the environment for requests.
- Introduced support for POST jobs.
- Jobs can now return hex values.
- Version number is now included in logs.
- Updated to the latest versions of go-ethereum, go, and other dependencies.
- Resolved all major Dependabot alerts by updating and installing node dependencies with the latest node and npm versions.
- Modified the default value and functionality of gasLimitOverride. It will now be used every time there's a gas estimation failure.
- Commit data will now be stored even if the transaction fails.
- Nil values for the Alternate provider in the config are no longer supported.
- Support for uniswap v2 and v3 data feeds returning results in the form of hex array and hex respectively is added.
What's Changed
Pull Requests
- Releasing 1.0.6 by @yohanelly95 in #1102
- chore: Merging CI changes to main by @SkandaBhat in #1153
- Releases/v1.1.0 by @SkandaBhat in #1163
Full Changelog: v1.0.6...v1.1.0
1.0.7-alpha.2
DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters
This release is the 3rd alpha release for v1.0.7
so it will cover all issues from 1st and 2nd alpha release v1.0.7-alpha
and v1.0.7-alpha.1
respectively with additional issues described below,
Issues added in this release from v1.0.7-alpha
→ v1.0.7-alpha.1
are:
- Simplified GetGasLimit on gas estimation failure
- README updates for
v1.0.7
changes
What's Changed from v1.0.7-alpha.1
-> v1.0.7-alpha.2
- Releasing 1.0.6 by @yohanelly95 in #1102
- Updated ReadMe for
v1.0.7
by @Yashk767 in #1137 - Simplified
GetGasLimit
on gas estimation failure by @Yashk767 in #1138 - updated version to v1.0.7-alpha.2 by @Yashk767 in #1139
New Contributors
- @yohanelly95 made their first contribution in #1102
Full Changelog: v1.0.7-alpha.1...v1.0.7-alpha.2
1.0.7-alpha.1
DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters
This release is the 2nd alpha release for v1.0.7
so it will cover all issues from 1st alpha release v1.0.7-alpha
and additional issues described below,
Issues added in this release from v1.0.7-alpha
→ v1.0.7-alpha.1
are:
- Update go-ethereum version to v1.12.0 (#1085)
- Update go and go-ethereum in Dockerfile (#1124)
- Fix all the major dependabot alerts (#1126)
- Update go-ethereum version to
1.12.2
instead of1.12.0
(#1128)
The release also includes features that are moved from planned v1.0.6-patch.1
release to v1.0.7
release:
- Reveal fails with
Invalid Signature
(#1059) - Reveal doesn't happen if commit data isn't stored in the file system(#1098)
- Don't set alternate provider if nil value is provided in config.sh (#1112)
- Replace generic retry with normal retry for
EstimateGasWithRetry
andSuggestGasPriceWithRetry
(#1110)
What's Changed
- Updated go and go ethereum version in Dockerfile by @Yashk767 in #1125
- Fetched
releases/v1.0.6
branch updates toreleases/v1.0.7
branch by @Yashk767 in #1116 - Merging
go1.21.1-support
branch toreleases/v1.0.7
branch by @Yashk767 in #1123 - Ran npm installl with updated node and npm versions to fix dependabot alerts by @Yashk767 in #1127
- Updated go ethereum version 1.12.2 by @Yashk767 in #1129
- updated oracle node version to
v1.0.7-alpha.1
by @Yashk767 in #1130 - Degraded go version to 1.19 for publish-github-release to support ghr by @Yashk767 in #1132
- Replaced
go1.21.1
togo1.21
in go.mod file by @Yashk767 in #1135 - revert degrading go version to 1.19 for publish-github-release for ghr support by @Yashk767 in #1133
Full Changelog: v1.0.7-alpha...v1.0.7-alpha.1
1.0.6-patch.1.alpha.2
DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters
What's Changed from 1.0.6-patch1-alpha
-> 1.0.6-patch.1.alpha.2
- Commit data Fix by @Yashk767 in #1111
- Removed default alternate provider from set config script by @Yashk767 in #1113
- Updated version to v1.0.6-patch.1.alpha.2 by @Yashk767 in #1114
Full Changelog: v1.0.6-patch1-alpha...v1.0.6-patch.1.alpha.2
1.0.6-patch1-alpha
DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters
What's Changed from 1.0.6 -> 1.0.6-patch1-alpha
- Fetched
gasLimit
value from config ifestimateGas
fails by @Yashk767 in #1108 - Updated Release parameters for 1.0.6-patch1-alpha by @Yashk767 in #1109
Full Changelog: v1.0.6...v1.0.6-patch1-alpha
1.0.7-alpha
DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters
What's Changed from 1.0.6
-> 1.0.7-alpha
What's Changed
- Merged main branch into releases/v1.0.7 by @Yashk767 in #1105
- Added version number to logs by @Yashk767 in #1104
- Brought Post Request and API key from .env changes back by @Yashk767 in #1097
- Updated addresses with new staging parameters for v1.0.7-alpha release by @Yashk767 in #1106
- Updated chainId to staging by @Yashk767 in #1107
Full Changelog: v1.0.6-alpha.4...v1.0.7-alpha
1.0.6
Features
- Support for alternate RPC is added which can be used if primary RPC does not work.
- Log file parameters like Maximum size of log file, Maximum number of backups of log file, Maximum age of log file are moved to config file as a config parameter which can be set by user.
- HTTP timeout for API is moved to config file as a config parameter which can be set by user.
- Caching is implemented to cache multiple results from same API.
- The release also includes code cleanups, code refactoring and usage of a generic function to implement retry mechanism on contract calls.
What's Changed
- Changed wait for block completion time to 1 sec by @Yashk767 in #984
- Fixed UpdateCollection by @Yashk767 in #983
- Removed ethBalanceCheck by @Yashk767 in #982
- Moved constant values to constants.go by @Yashk767 in #987
- Update geth version to v1.10.25 and updated depreciated bindings by @Yashk767 in #985
- Validate contract calls (Changes from v1-audit) by @Yashk767 in #981
- Functions Refactor by @Yashk767 in #989
- Code CleanUp (Issues from v1-audit) by @Yashk767 in #990
- Remove space from xhtml job result by @Yashk767 in #991
- Log changes from v1-audit by @Yashk767 in #994
- replaced path.join() with filepath.join() by @Yashk767 in #992
- Removed redundant cmd/utilsInterface by @Yashk767 in #997
- Moved waitForAppropriateState after epoch check in
initiateWithdraw
by @Yashk767 in #1008 - Implemented timeout for logger on fetching blockNumber by @Yashk767 in #1009
- updated dockerfile and readme for non-root user by @Shrikant1212 in #1014
- Moved Lumberjack constants to config by @Yashk767 in #1011
- updated readme for expose metric and running cmd in background by @Shrikant1212 in #1015
- Cached API Response by @Yashk767 in #1016
- Added conditions and tests for fetching data from assets.json file by @Yashk767 in #1028
- Added support for Post Requests by @Yashk767 in #1020
- Merge
v1.0.5
intov1.0.6
by @Yashk767 in #1031 - Refactor utilsInterface by @Yashk767 in #1024
- Merge v1.0.5 to main by @Yashk767 in #1038
- Releases/v1.0.5 by @ashish10677 in #1043
- Fetched v1.0.5 updates to v1.0.6 by @Yashk767 in #1045
- v1.0.6-alpha ready by @Yashk767 in #1046
- updated CI for dockerhub token. by @Shrikant1212 in #1052
- Added http timeout as a config parameter by @Yashk767 in #1055
- Fetched API key from env file by @Yashk767 in #1048
- Added condition to check if there was a value in previous block by @Yashk767 in #1056
- Checked password is correct at the immediate start of command by @Yashk767 in #1069
- updated CI for tests by @Shrikant1212 in #1075
- Merge
v1.0.5-patch2
to main by @Yashk767 in #1073 - Fetch
main
branch intov1.0.6
by @Yashk767 in #1076 - Added support for jobs returning hex values by @Yashk767 in #1058
- Remove hardcoded gas limit by @Yashk767 in #1078
- Fix: typos by @omahs in #996
- Added a generic function for retry mechanism by @Yashk767 in #1071
- Revert API changes and other API features from v1.0.6 by @Yashk767 in #1080
- revert updated dockerfile and readme for non-root user by @Yashk767 in #1083
- Common local cache instance used for all collections by @Yashk767 in #1082
- updated version to 1.0.6-alpha.2 by @Yashk767 in #1084
- Revert "Reduced wait for block completion to 1 second" by @Yashk767 in #1087
- Fixed error log for commit transaction by @Yashk767 in #1088
- updated version to 1.0.6-alpha.3 by @Yashk767 in #1089
- Updated readme with v1.0.6 changes by @Yashk767 in #1079
- Returned error if provider is not set in config by @Yashk767 in #1094
- Alternate provider fix by @Yashk767 in #1092
- Added alternateProvider in config.sh by @Yashk767 in #1095
- updated version to 1.0.6-alpha.4 by @Yashk767 in #1096
- Updated deployed contract addresses and chaind to mainnet ones for 1.0.6-beta release by @Yashk767 in #1099
- Updated version to 1.0.6 by @Yashk767 in #1101
New Contributors
Full Changelog: v1.0.5-patch2...v1.0.6