Skip to content
  1. Apr 24, 2024
  2. Apr 22, 2024
  3. Apr 21, 2024
  4. Apr 16, 2024
  5. Apr 11, 2024
  6. Apr 08, 2024
  7. Apr 04, 2024
    • Dominique's avatar
      feat: add metadata versions endpoints (#1424) · beb02ba1
      Dominique authored
      
      
      * feat: add metadata versions endpoints
      
      * updated docs
      
      * fix typo & renamed variables
      
      * made the metadata version check dynamic, replacing the specific check for versions 14 and 15
      - transaction material with metadata returns metadata regardless of the 'metadata' query param
      - updated docs
      
      * added changes from Tarik's review
      - throw an error if newer call is not available for older blocks
      - removed some comments left in node transaction spec file
      
      * Tarik's change on regExPattern check
      
      Co-authored-by: default avatarTarik Gul <[email protected]>
      
      * added Tarik's suggestion also in transaction material
      
      * fix typo
      
      ---------
      
      Co-authored-by: default avatarTarik Gul <[email protected]>
      beb02ba1
  8. Apr 01, 2024
  9. Mar 27, 2024
  10. Mar 22, 2024
  11. Mar 21, 2024
  12. Mar 20, 2024
  13. Mar 16, 2024
  14. Mar 06, 2024
  15. Mar 05, 2024
  16. Mar 01, 2024
    • Dominique's avatar
      chore(release): 17.5.2 (#1405) · f2b58bd9
      Dominique authored
      v17.5.2
      f2b58bd9
    • Tarik Gul's avatar
      fix: add more historic support for staking-payouts (#1397) · b1e84beb
      Tarik Gul authored
      
      
      * fix: add more historic support for staking-payouts
      
      * Update typings
      
      * update nit
      
      * historyDepth guard
      
      * added currentEra
      
      * first commit
      
      * updated deriveEraExposure
      
      * udpated blockinfo interface
      
      * updated payout calc
      
      * removed unused types
      
      * added eras block info
      
      * run linter
      
      * some linting
      
      * udpated points and rewards
      
      * undo
      
      * fixed all type errors
      
      * get era points at current era s end block
      
      * edgecase era 0
      
      * linting
      
      * era 0
      
      * disable depth for eras less than 518
      
      * removed extra blocks in erasBlockInfo json file
      
      * bug fix
      
      * typo
      
      * bug fix
      
      * fix era err msg
      
      * removed commented line
      
      * linting
      
      ---------
      
      Co-authored-by: default avatarbee344 <[email protected]>
      Co-authored-by: default avatarImod7 <[email protected]>
      b1e84beb
  17. Feb 28, 2024
  18. Feb 23, 2024
  19. Feb 22, 2024
  20. Feb 07, 2024
  21. Feb 06, 2024
  22. Feb 02, 2024
  23. Feb 01, 2024
  24. Jan 25, 2024
  25. Jan 24, 2024
  26. Jan 23, 2024
    • Dominique's avatar
      feat: add decoded XCM data in `blocks` endpoint (#1364) · 555817c8
      Dominique authored
      
      
      * feat: add decoded xcm data in blocks endpoint
      
      * add types to fix any lint errors
      
      * update copyright year
      
      * fix paraId filter for horizontal msgs
      
      * fix xcm decoding for moonbeam horizontal msg
      
      * add yarn.lock file
      
      * update docs
      
      * removed moonbeam package
      
      * adding back yarn.lock
      
      * changed variable to const
      
      * retrieved yarn.lock from master branch
      
      * added a test for decoding upward msg in polkadot block
      
      * added test for decoding horizontal msg in KAH block
      
      * updated cacheKey with query params of decodedXcmMsgs and paraId
      - updated docs in blocks controller comments
      
      * replaced mocked data of block 18207445 with those of block 18468942
      - in block 18468942 we have 2 upward msgs from two different parachains so with the same mocked data we can add 2 tests
      - added a test to check the query param paraId is working as expected
      
      * replaced mocked data of block 5831776 with those of block 3356195
      - in block 3356195 we have downward and horizontal msgs so with the same mocked data we can test two different directions
      
      * changed structure of decodedXcmMsgs response
      - changed structure of the decodedMsgs response so that it always returns three arrays (filled or empty), one for each direction.
      - removed an if statement as unnecessary in XCMDecoder
      - updated corresponding tests with the new structure of the response
      
      * reintroduced the if statement so that paraId query param works when connected to parachain
      
      * added test to check if query param paraId works correctly also in horizontal msgs
      
      * run linter
      
      * added the decodedXcmMsgs response for blockId endpoint
      - the response is a combination of Block and BlockXCM response with the use of allOf
      - added schema for Liquidity Pool because the swagger was complaining
      - changed the order of a hash field so that it aligns of it actually appears in the corresponding response
      
      * added decodedXcmMsgsArg and paraId in the options arg
      
      * added validation for paraId query param
      - changed type of paraId after validation
      - renamed boolean option for decodedXcmMsgs so it is shorter
      
      * XCMDecoder changes from Tarik's Amazing review
      - changes in imports
      - replaced class name with the keyword 'this'
      - replaced static with readonly for class properties
      - replaced static with private for class methods
      - changed specname to lowercase
      
      * reused mockApi's 'perClass' in the other mocked apis
      - added the 'type' keyword in more imports
      
      * run linter & refix imports
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarTarik Gul <[email protected]>
      
      * fix on the perClass field
      
      ---------
      
      Co-authored-by: default avatarmarshacb <[email protected]>
      Co-authored-by: default avatarTarik Gul <[email protected]>
      555817c8