Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Smart profile (#18)
Browse files Browse the repository at this point in the history
* add: profile_v2

* add: profile_v2 events

* [BREAKING] directly update post

* fix: broken test cases from profile changes

* add: gpl_nameservice

* add: transfer namerecord

* add: name_record validation

* limit subdomain level to 1

* Limit transfer to a SystemAccount

* [WIP] feature: validate screen_name via gpl_nameservice

* fix: NameRecord serde + validation

* add: gumdomain as screenname in test cases

* add: badges

* [WIP]: feature: add custom reaction

* remove: user

* remove: user in gpl_compression

* fix: test cases after removing user

* fix: s/user/profile

* fix: failing test cases from session integration

* Use emoji_code for reaction

* fix: serde errors and tests cases for emoji code as reaction

* update account seed management in badge and issuer modules (#19)

* Issuer must be verified before they can issue a badge.

This make sure badge and schema workflows constraint against a verified issuer.

The issuer's verification status is false, until explicitly authorized by the IssuerVerifier.

* Remove redundant PDA checks

* Add verify_issuer instruction

* Badge must have a schema

* remove reaction_type

* Fix test failing test cases from the merge

* update seed generation in badge (#21)

* Update program_id

* Simplify emoji; let the client handle it

* Remove user.rs

---------

Co-authored-by: Vijay Gupta <vjgupta57@gmail.com>
  • Loading branch information
abishekk92 and vjgpt authored Jun 23, 2023
1 parent a56a687 commit 78fa278
Show file tree
Hide file tree
Showing 44 changed files with 1,289 additions and 1,524 deletions.
14 changes: 7 additions & 7 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
anchor_version = "0.26.0"
solana_version = "1.13.5"
solana_version = "1.13.8"

[features]
seeds = true
skip-lint = false

[programs.localnet]
gpl_core = "CDDMdCAWB5AXgvEy7XJRggAu37QPG1b9aJXndZoPUkkm"
gpl_core = "6MhUAJtKdJx3RDCffUsJsQm8xy9YhhywjEmMYrxRc5j6"
gpl_compression = "41kNwkQ9jESNYZJyAA1ENscQfx7vfkEf6uetVSFmfyaW"
gpl_session = "3ao63wcSRNa76bncC2M3KupNtXBFiDyNbgK52VG7dLaE"
gpl_nameservice = "7LEuQxAEegasvBSq7dDrMregc3mrDtTyHiytNK9pU68u"
gpl_nameservice = "5kWEYrdyryq3jGP5sUcKwTySzxr3dHzWFBVA3vkt6Nj5"

[programs.devnet]
gpl_core = "CDDMdCAWB5AXgvEy7XJRggAu37QPG1b9aJXndZoPUkkm"
gpl_core = "6MhUAJtKdJx3RDCffUsJsQm8xy9YhhywjEmMYrxRc5j6"
gpl_compression = "41kNwkQ9jESNYZJyAA1ENscQfx7vfkEf6uetVSFmfyaW"
gpl_session = "3ao63wcSRNa76bncC2M3KupNtXBFiDyNbgK52VG7dLaE"
gpl_nameservice = "7LEuQxAEegasvBSq7dDrMregc3mrDtTyHiytNK9pU68u"
gpl_nameservice = "5kWEYrdyryq3jGP5sUcKwTySzxr3dHzWFBVA3vkt6Nj5"

[programs.mainnet]
gpl_core = "CDDMdCAWB5AXgvEy7XJRggAu37QPG1b9aJXndZoPUkkm"
gpl_core = "6MhUAJtKdJx3RDCffUsJsQm8xy9YhhywjEmMYrxRc5j6"
gpl_compression = "41kNwkQ9jESNYZJyAA1ENscQfx7vfkEf6uetVSFmfyaW"
gpl_session = "3ao63wcSRNa76bncC2M3KupNtXBFiDyNbgK52VG7dLaE"
gpl_nameservice = "7LEuQxAEegasvBSq7dDrMregc3mrDtTyHiytNK9pU68u"
gpl_nameservice = "5kWEYrdyryq3jGP5sUcKwTySzxr3dHzWFBVA3vkt6Nj5"


[[test.genesis]]
Expand Down
Loading

0 comments on commit 78fa278

Please sign in to comment.