Skip to content

Conversation

@monyedavid
Copy link
Collaborator

@monyedavid monyedavid commented May 22, 2022

base branch for #212 #213 #214 #218

. ScalaTest
. Updated Tests
. Use scalaTestPlus
  - services spec template
  - shared methods
  - BoxRoutes
  - AddressesRoutes
  - RoutesV1Bundle
  - HttpAPI
- AddressInfo
- BatchAddressInfo Map[Address, AdressInfo]
- schemaForMapKV
- AddressesSpec
  - MOutputInfo (merge of `UOutputInfo` & `OutputInfo`)
  - BoxSpec
- use e0021 openapi specification:
    . Added GenuineToken Model, GenuineTokenRepo, GenuineTokenQuerySet & BlockedTokenInfo
    . Added BlockedToken Model, BlockedTokenRepo, BlockedTokenQuerySet & BlockedTokenInfo
    . Added CheckTokenInfo
- Update TokenServices:
     . getGenuineTokenList
     . getBlockedTokenList
     . Added Pagination
- Token Service:
     . checkToken
     . TokenVerification
- V9__Schema | Edit
- Added Spec
     . GenuineTokenRepoSpec
     . BlockedTokenRepoSpec
     . TokenVerificationSpec
     . Gens
- Migrations:
     . BlockedTokenMigration
     . GenuineTokenMigration
@monyedavid monyedavid requested a review from oskin1 May 23, 2022 03:47
monyedavid added 20 commits May 23, 2022 12:38
# Conflicts:
#	modules/explorer-api/src/main/scala/org/ergoplatform/explorer/http/api/v1/services/Boxes.scala
#	modules/explorer-api/src/main/scala/org/ergoplatform/explorer/http/api/v1/services/Mempool.scala
# Conflicts:
#	modules/explorer-api/src/main/scala/org/ergoplatform/explorer/http/api/v1/services/Addresses.scala
#	modules/explorer-api/src/test/scala/org/ergoplatform/explorer/v1/services/AddressesSpec.scala
- remove Functor from Monad
- mkUInput
- move instances to AddressInfo
  retrieve directly from UOutputRepo
getBoxesSpentInMempool:
  retrieve directly from UInputRepo
* - Support Height for getting Tx
- TransactionRepoSpec
- TransactionSpec

* requested changes:
 - InclusionHeightRange construct at Endpoint
 - Option[InclusionHeightRange] in Transactions.getByAddress

* requested change
monyedavid added 17 commits June 1, 2022 10:18
  . UOutputQuerySet
     . streamAllRelatedToErgoTree -> getAllRelatedToErgoTree
  . mv "outputs.streamAllRelatedToErgoTree" & "inputs.getAllUInputBoxIdsByErgoTree" inside Boxes
  . removed getUOutputsByAddress & getBoxesSpentInMempool methods inside Memprops
  . use countAllByErgoTree
  . using batch request & Streaming
  . remove unused methods
# Conflicts:
#	modules/explorer-api/src/main/scala/org/ergoplatform/explorer/http/api/v1/defs/AddressesEndpointDefs.scala
# Conflicts:
#	modules/explorer-api/src/main/scala/org/ergoplatform/explorer/http/api/v1/services/Addresses.scala
#	modules/explorer-api/src/main/scala/org/ergoplatform/explorer/http/api/v1/services/Boxes.scala
#	modules/explorer-core/src/main/scala/org/ergoplatform/explorer/db/queries/TransactionQuerySet.scala
#	modules/explorer-core/src/test/scala/org/ergoplatform/explorer/db/repositories/AdProofRepoSpec.scala
#	modules/explorer-core/src/test/scala/org/ergoplatform/explorer/db/repositories/TransactionRepoSpec.scala
 - resolve conflicts
 - update usage HeaderRepo[D, fs2.Stream]
# Conflicts:
#	modules/explorer-core/src/test/scala/org/ergoplatform/explorer/db/repositories/TestOutputRepo.scala
  - use Enums(TokenStatus)
Implement EIP-0021 Genuine tokens verification
@monyedavid monyedavid removed the request for review from oskin1 June 9, 2022 05:36
@monyedavid monyedavid merged commit 1e05f4d into master Jun 9, 2022
@monyedavid monyedavid deleted the base_pr branch June 9, 2022 14:08
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.

3 participants