Skip to content
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

Fix and add specs #62

Merged
merged 5,495 commits into from
Dec 17, 2024
Merged

Fix and add specs #62

merged 5,495 commits into from
Dec 17, 2024

Conversation

shleikes
Copy link
Contributor

No description provided.

ranlavanet and others added 30 commits July 2, 2024 17:26
* fixing try lock selection on consumer session m,anager side

* fix interface UsedProvidersInf

* add a new error called ContextDoneNoNeedToLockSelectionError

* fix used providers test

* change TryLockSelection to return an error instead of a boolean

* fix processor test

* add debug relays info for easier debugging

* add used providers test for new functionality

* add guid

---------

Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
Co-authored-by: amitz <amitz@sepiocyber.com>
* fix: PRT - fixing expected value verification

* fix comment

* change to parse int

---------

Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
* Post init_sdk.sh run

* Move the e2e config files to separate folders

* Small log fix to badgeserver log

* Small err log fix

* Change from badge generator to badge server

* Switch back from user2 to user1 subscription

* Little more transparency

* Fix to consumer config example

* Add keyring flags to badgeserver
* metadata condition change

* update runner base image

---------

Co-authored-by: Amit Zafran <amit@lavanet.xyz>
* feat: movement spec

* fix: typos

* fix latest distance

---------

Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
* Close security issue #104

* Close security issue #90

* Close security issue lavanet#30

* Close security issue #88

* Close security issue lavanet#50

* Fix breaking changes in new btcd version
…ersion 2.2.3 (#1544)

* PRT - fix set TTL depending on block time

* set default to 150 ms on node errors

* change error level log

* change error level log

* fix logs

* increase protocol version.

* add time to retry

* decrease race window
* remove restrictions for description strings

* fix test

---------

Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
* feat: stride spec add

* fix: change name

* fix archive pruning

---------

Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com>
* Init injective spec

* Remove duplicate API definitions and a space from an API name

* Re-add mistakenly removed testnet definitions

* Removed duplicate methods already defined in imported specs

* Removed duplicate GRPC methods imported from other specs

* Remove cosmos methods that are being added to the cosmos spec

* Replaced GRPC methods with grpcurl output

* IBC dependency removed due to already being included in COSMOSSDKFULL

* Changed pruning settings to 24 hours of blocks and 24 hours - 15 minutes

* Change distance/archive based on 1s blocks

---------

Co-authored-by: Vincent Taglia <info@vincenttaglia.com>
Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
Co-authored-by: oren-lava <111131399+oren-lava@users.noreply.github.com>
Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com>
* feat: union spec add

* feat: elys testnet spec add

* feat: elys testnet spec add

* Changes to be committed:
	deleted:    cookbook/specs/spec_add_union.json

* fix: typo and pruning

* fix: typo

* fix: typo

* fix: typo json

* fix: change name

* fix misspelling and missing archive

* fix typo

---------

Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com>
Co-authored-by: oren-lava <111131399+oren-lava@users.noreply.github.com>
* remove CGO

* CGO_ENABLED

---------

Co-authored-by: Amit Zafran <amit@lavanet.xyz>
Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
* feat: PRT - add lavajs tx unitest

* adding logs for better debugging
* feat: PRT - decrease polling time on lava network state fetch

* set const for lava polling time.

* Add cache to GetMaxCUForUser

* Fix a very annoying bug

---------

Co-authored-by: Elad Gildnur <elad.gildnur@gmail.com>
Co-authored-by: Elad Gildnur <6321801+shleikes@users.noreply.github.com>
Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com>
…st default gas. (#1577)

* allow gas prices modifications on providers process, set default gas price to 0.0002ulava

* Update tx_sender.go

* add gas change to local config

---------

Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
Co-authored-by: omerlavanet <omer@lavanet.xyz>
* modify provider now must contain validator if stake was changed

* add test

---------

Co-authored-by: Yaroms <yaroms@lavanet.xyz>
* add multi send CLI

* add support for 2 wallets

* add total gas for a day cli

* pr changes

* desc

* pr changes

* fix empty provider in cli

* fix in cli

* fix

---------

Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
…#1535)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
* running via cross

* latest -> v1.20

---------

Co-authored-by: amitz <amitz@sepiocyber.com>
* running via cross

* latest -> v1.20

* user root

* marking safe directory

---------

Co-authored-by: amitz <amitz@sepiocyber.com>
* remove default gas price on lavad.

* lavap removed
shleikes and others added 27 commits December 3, 2024 12:29
* Add the consumer address to the QoS report

* Test fix

---------

Co-authored-by: Ran Mishael <106548467+ranlavanet@users.noreply.github.com>
* feat: PRT - websocket limited per ip

* feature complete.

* adding websocket limiter

* remove logs

* lintush

* add rate limit header allowing us to set rate limit using the first connection request from ngnix without limiting everyone the same.

* fix lintushiush

* feat: added new websocket connection limit from ngnix headers

* v4 lint

* fixed

* add user agent

* setting user agent and better disconnection limit

* increasing protocol version

* adding unitest

* max idle duration for ws connections

* Fix lint

* CR Fix: Close the go routine on connection close

* CR Fix: Update the idleFor after we get a message from subscription

* CR Fix: Rename function

* combine the go routines in websocket checks

---------

Co-authored-by: Elad Gildnur <elad.gildnur@gmail.com>
Co-authored-by: omerlavanet <omer@lavanet.xyz>
* remove spec requirement to contain all apis

* fix unitests

* fix consumer race

* fix unitests

* fix unitests

* Small fix to tests

---------

Co-authored-by: Elad Gildnur <elad.gildnur@gmail.com>
* update go version

* sdk tests go version

---------

Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
Co-authored-by: Elad Gildnur <elad.gildnur@gmail.com>
* update go version

* sdk tests go version

* Fix linter warning for the config

* Fix linter errors

---------

Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
* Update avalanche config example

* statistical failure

---------

Co-authored-by: Ran Mishael <ran@lavanet.xyz>
* added credit and credit timestamp to delegations

* fix nil deref and edge cases where delegation is in the future

* added delegation credit to rewards distribution

* fix delegate set to account for existing delegation

* wip on tests

* unitests wip

* normalized provider credit too if he wasnt staked for a month, finished unitests for credit

* lint

* adding unitests

* fix ctx

* finished delegation set with credit unitests

* wip fixing tests

* fix a test

* fix last test

* add unitest - wip

* push unitests wip

* finished delegation partial test

* adapted new sub tests to trigger only on the new flow

* fix date add bug using months instead of days

* add migrator

* PR comments

---------

Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com>
* Initial commit - default config files

* Delete .DS_Store

* Removed staging folder

* lava-testnet-2 files

* update testnet2 seed URLs

* change timeout_propose to 1s

* lava testnet2 genesis

* configuration changes

* new genesis file 340777

* RPC lighter nodes

* add mainnet config

* feat: COSMOSHUB spec from MELLIFERA

* feat: added lava testnet
chore: fixes and improvements

* feat: cosmossdk v50

* feat: cosmowasm spec

* feat: update cosmoshub spec

* feat: inherit COSMOWASM

* fix: types

* fix: added `compute_units` for disabled apis

* feat: COSMOSWASM

* fix: some fixes

* fix: remove unused import

* fix: contributor

* feat: inherit from COSMOSHUB

* fix: providers_types and name added

* add spec

* add stargaze spec

* fix

* fix import spec

* update

* Fix contributor_percentage filed type

* add contributor for mainnet

* added evmos spec and deps

* change shares form 0 to 1

* fix

* Movement Mainnet Specs

* Update contributor

* Updated fvm spec json

* update min stake provider

* Change min stake to 5000000000

* Add inheritance APT1

* Change blocktime to 1s

* feat: add starknet

* fix: parameters and Benchmark

* Change block distance for finalized data to 5

* add axelar spec

* update spec

* Change "contributor percentage" to string

* Update import

* update

* update identity and min_stake_provider

* fix : min stake and added back v0_5

* Fix duplicate APIs

* fix: ws apis

* add APT1 spec for inheritance

* Change contributor_percentage 0.025

* feat: add original near spec

* feat(filecoin): remove duplicate from apis

* feat(filecoin): add fvm testnet spec

* Update FVMT spec to include missing fields

* Update FVM spec to include missing fields

* (FVM,FVMT): Set expected_value for archive verifications

* Updated filecoin specs

* Combine both FVM and FVMT specs into one file

* fix filecoin spec file

* Revert "feat: add Filecoin testnet (Calibrationnet) spec from Protofire DAO"

* Starknet fixes for BabyScope

* Remove the minimum gas price in evmos

* filecoin: add testnet, some apis, fix configurations
movement: fix configurations, add mainnet and testnet

* add md file

* add tests

* remove comment

* update test yml

* trigger ci

* run only on PR

* add the basic specs

* use latest main

* add cosmossdk full

* remove unnecessary specs

* remove solana

* pr fix

* Add verification

* Add .gitignore

* adding base

* add solana spec

* add subscription APIs

* Add celo spec

* Add avalanche

* Add tracking shards verification

* Fix near chunk and tx generic parsers

* Remove the cookbook/specs directory

* Move specs readme to specs

* add polygon spec

* add base spec

* add optimism spec

* Change cookbook refs to specs/mainnet-1

* fantom spec

* Add lava testnet

* Enable ETH1 spec

* Update test name in workflow

* Enabled SEP1 and HOL1

* Replace COSMOSSDKFULL with COSMOSSDKV50

* Add cosmossdkv45

* add blast spec

* change min_stake

* change min stake

* minstake for testnet

* Add testnet specs

* fix solana min stake

* Fixes to specs

* Fix E2E

* Fix the constant of specs in payments e2e

* Fix E2E maybe

* fix pr

* Add generic parser for tx hash

* add fuse spec

* add contributor

* Add more generic parsers to cosmossdk

* add arbitrum spec
fix evmos min stake

* fix near minstake

* remove internal path from filecoin

* update near and movement specs

* CR Fix: Rename TestMainnetSpecs -> TestSpecs

* CR Fix: Add ethermint to base specs

* CR Fix: Move testnet specs from Mainnet-1 to testnet-2

* Move specs in proposal form testnet to mainnet

* CR Fix: Add solana to base specs in test

* Add solana to base specs in useful commands

---------

Co-authored-by: Dvir Chikvashvili <dvir211994@gmail.com>
Co-authored-by: dvir1994 <33489902+dvir1994@users.noreply.github.com>
Co-authored-by: David-Melamed <davidmelamed269@gmail.com>
Co-authored-by: David-Melamed <99877151+David-Melamed@users.noreply.github.com>
Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com>
Co-authored-by: Luis López <luis02lopez@hotmail.com>
Co-authored-by: omerlavanet <omer@lavanet.xyz>
Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
Co-authored-by: ruslanglaznyov <ruslan.glaznyov@gmail.com>
Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
Co-authored-by: MichaelLLC <michael@impulse.expert>
Co-authored-by: MichaelS <133676565+MichaelLLC@users.noreply.github.com>
Co-authored-by: diszell2008 <listening2009@gmail.com>
Co-authored-by: Dzmitry Kliapkou <dzmitry.kliapkou@protofire.io>
Co-authored-by: BabyScope <info@babyscope.nl>
Co-authored-by: Ignacio Rodriguez <28834887+ignacio-rsg@users.noreply.github.com>
Co-authored-by: Amir A <39724250+RaFuN@users.noreply.github.com>
Co-authored-by: Yaroms <yaroms@lavanet.xyz>
Co-authored-by: Ran Mishael <ran@lavanet.xyz>
Co-authored-by: Oren <oren@lavanet.xyz>
Co-authored-by: oren-lava <111131399+oren-lava@users.noreply.github.com>
* Initial commit - default config files

* Delete .DS_Store

* Removed staging folder

* lava-testnet-2 files

* update testnet2 seed URLs

* change timeout_propose to 1s

* lava testnet2 genesis

* configuration changes

* new genesis file 340777

* RPC lighter nodes

* add mainnet config

* feat: COSMOSHUB spec from MELLIFERA

* feat: added lava testnet
chore: fixes and improvements

* feat: cosmossdk v50

* feat: cosmowasm spec

* feat: update cosmoshub spec

* feat: inherit COSMOWASM

* fix: types

* fix: added `compute_units` for disabled apis

* feat: COSMOSWASM

* fix: some fixes

* fix: remove unused import

* fix: contributor

* feat: inherit from COSMOSHUB

* fix: providers_types and name added

* add spec

* add stargaze spec

* fix

* fix import spec

* update

* Fix contributor_percentage filed type

* add contributor for mainnet

* added evmos spec and deps

* change shares form 0 to 1

* fix

* Movement Mainnet Specs

* Update contributor

* Updated fvm spec json

* update min stake provider

* Change min stake to 5000000000

* Add inheritance APT1

* Change blocktime to 1s

* feat: add starknet

* fix: parameters and Benchmark

* Change block distance for finalized data to 5

* add axelar spec

* update spec

* Change "contributor percentage" to string

* Update import

* update

* update identity and min_stake_provider

* fix : min stake and added back v0_5

* Fix duplicate APIs

* fix: ws apis

* add APT1 spec for inheritance

* Change contributor_percentage 0.025

* feat: add original near spec

* feat(filecoin): remove duplicate from apis

* feat(filecoin): add fvm testnet spec

* Update FVMT spec to include missing fields

* Update FVM spec to include missing fields

* (FVM,FVMT): Set expected_value for archive verifications

* Updated filecoin specs

* Combine both FVM and FVMT specs into one file

* fix filecoin spec file

* Revert "feat: add Filecoin testnet (Calibrationnet) spec from Protofire DAO"

* Starknet fixes for BabyScope

* Remove the minimum gas price in evmos

* filecoin: add testnet, some apis, fix configurations
movement: fix configurations, add mainnet and testnet

* add md file

* add tests

* remove comment

* update test yml

* trigger ci

* run only on PR

* add the basic specs

* use latest main

* add cosmossdk full

* remove unnecessary specs

* remove solana

* pr fix

* Add verification

* Add .gitignore

* adding base

* add solana spec

* add subscription APIs

* Add celo spec

* Add avalanche

* Add tracking shards verification

* Fix near chunk and tx generic parsers

* Remove the cookbook/specs directory

* Move specs readme to specs

* add polygon spec

* add base spec

* add optimism spec

* Change cookbook refs to specs/mainnet-1

* fantom spec

* Add lava testnet

* Enable ETH1 spec

* Update test name in workflow

* Enabled SEP1 and HOL1

* Replace COSMOSSDKFULL with COSMOSSDKV50

* Add cosmossdkv45

* add blast spec

* change min_stake

* change min stake

* minstake for testnet

* Add testnet specs

* fix solana min stake

* Fixes to specs

* Fix E2E

* Fix the constant of specs in payments e2e

* Fix E2E maybe

* fix pr

* Add generic parser for tx hash

* add fuse spec

* add contributor

* Add more generic parsers to cosmossdk

* add arbitrum spec
fix evmos min stake

* fix near minstake

* remove internal path from filecoin

* update near and movement specs

* CR Fix: Rename TestMainnetSpecs -> TestSpecs

* CR Fix: Add ethermint to base specs

* CR Fix: Move testnet specs from Mainnet-1 to testnet-2

* Move specs in proposal form testnet to mainnet

* CR Fix: Add solana to base specs in test

* Add solana to base specs in useful commands

---------

Co-authored-by: Dvir Chikvashvili <dvir211994@gmail.com>
Co-authored-by: dvir1994 <33489902+dvir1994@users.noreply.github.com>
Co-authored-by: David-Melamed <davidmelamed269@gmail.com>
Co-authored-by: David-Melamed <99877151+David-Melamed@users.noreply.github.com>
Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com>
Co-authored-by: Luis López <luis02lopez@hotmail.com>
Co-authored-by: omerlavanet <omer@lavanet.xyz>
Co-authored-by: Omer <100387053+omerlavanet@users.noreply.github.com>
Co-authored-by: ruslanglaznyov <ruslan.glaznyov@gmail.com>
Co-authored-by: Yarom Swisa <yarom@lavanet.xyz git config --global user.name Yarom>
Co-authored-by: MichaelLLC <michael@impulse.expert>
Co-authored-by: MichaelS <133676565+MichaelLLC@users.noreply.github.com>
Co-authored-by: diszell2008 <listening2009@gmail.com>
Co-authored-by: Dzmitry Kliapkou <dzmitry.kliapkou@protofire.io>
Co-authored-by: BabyScope <info@babyscope.nl>
Co-authored-by: Ignacio Rodriguez <28834887+ignacio-rsg@users.noreply.github.com>
Co-authored-by: Amir A <39724250+RaFuN@users.noreply.github.com>
Co-authored-by: Yaroms <yaroms@lavanet.xyz>
Co-authored-by: Ran Mishael <ran@lavanet.xyz>
Co-authored-by: Oren <oren@lavanet.xyz>
Co-authored-by: oren-lava <111131399+oren-lava@users.noreply.github.com>
…config

fix: PRT - Replace cookbook with lava config - Again
@Yaroms Yaroms merged commit c493a35 into lavanet:main Dec 17, 2024
1 check passed
@shleikes shleikes deleted the fix-and-add-specs branch December 29, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.