forked from razor-network/oracle-node
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.2.0-dev release #13
Merged
Yashk767
merged 11 commits into
develop-copy-9
from
yash/raz-935-rebase-featurev120-branch-with-updated-develop-branch
Aug 9, 2024
Merged
v1.2.0-dev release #13
Yashk767
merged 11 commits into
develop-copy-9
from
yash/raz-935-rebase-featurev120-branch-with-updated-develop-branch
Aug 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…zor-network#1200) * refactor: used regex instead of ks.Accounts to match keystore file * refactor: added more extensive realistic testing for fetching of private key * ci: ignore test-accounts directory in coverage * refactor: added test when multiple timestamps keystore file present for same account * refactor: covered lower and upper case addresses * revert: optimised fetching key from keystore dir * fix: reused same keystore instance for fetching pkey every time * refactor: added realistic tests for fetching of pKey * refactor: removed unused accounts() from interface * refactor: used AccountManager struct with a keystore as a method caller * refactor: fix tests * refactor: removed commented test code * refactor: returned interface instead of type struct instance from AccountManagerForKeystore() * refactor: fixed create tests * refactor: compared expected and returned pKey values in tests * refactor: requested changes
…rk#1201) * refactor: used a common http client throughout for all the APIs * fix: handled goroutine exit * refactor: golangci-lint fix * refactor: defined http client fields in constants.go * refactor: defined http client as a field to HttpClient struct used as a method caller * refactor: revert InvokeFunctionWithTimeout() changes * refator: fixed tests * refactor: moved httpClient as the first parameter in api.go functions signature * refactor: removed exporting of client field from HttpClient struct * refactor: changed var to const keyword for http client constants
…calls (razor-network#1204) * refactor: Used getStakerId() only once * refactor: used exisiting blockNumber from Vote() in dependent functions * refactor: fixed tests after header being passed as a parameter * fix: removed continous retries if error in fetching block number in logger * refactor: added tests when context is cancelled for Vote() * refactor: fixed vote tests
… 5 min epoch (razor-network#1209) * fix: updated config default max, min values to support longer epoch * fix: updated default config values in config.sh if builded from source
…zor-network#1218) * feat: Implemented batching of multiple getStakeSnapshot RPC calls * refactor: added method caller to batch call functions and added it to interface * refactor: added new and fixed exisiting tests * refactor: fixed log with correct staker Id associated for stake * refactor: moved getStakeSnapshot string to constants * refactor: implemented generic batch call function * refactor: used generic batch call for getStakeSnapshot * refactor: removed timeout and address parameter from GetBiggestStakeAnId()
…ork#1207) * feat: added jobs/collections cache structs * feat: added support for using jobs/collections caches * refactor: added time constants required for job/collection cache updates * fix: fixed resetting of cache every expiry interval * refactor: fixed error log * refactor: fix utils tests * refactor: added httpClient instance in commitParams struct * refactor: removed resetting of cache as its not required * feat: checked for job/collection events at the start of commit state in main go routine * refactor: used FilterLogswithRetry and fixed other tests * refactor: fixed benchmark * refactor: moved all the event names to constants * refactor: requested changes * refactor: removed custom http client struct and directly used inbuilt http.Client
…razor-network#1222) * chore: updated default addresses and chainId to mainnet addresses and chainId * chore: updated testnet addresses to staging europa 20 min epoch * chore: updated version to v1.2.0 * refactor: fixed tests due to state length change to 1200
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: