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

πŸŽ‰ 🏹 πŸ¦‘ Hello #194

Merged
merged 155 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
f300bd4
:arrow_up: almost_all_deps
vikiival Nov 19, 2023
2a02f75
:wrench: CHAIN now relates to the Relay Chain
vikiival Nov 19, 2023
dcdca01
:zap: kinky setup of env
vikiival Nov 19, 2023
b8df3d7
πŸ’˜ πŸ¦‘ is my best friend
vikiival Nov 19, 2023
6e661a1
:loud_sound: :bug: extra dot on legacy handlers
vikiival Nov 19, 2023
75e9d3d
:zap: Processor
vikiival Nov 19, 2023
4cdb8ea
:label: Found 282 errors in 30 files.
vikiival Nov 19, 2023
754915d
:label: :bug: Fields were never
vikiival Nov 20, 2023
6698aa2
:sparkles: will it blend?
vikiival Nov 20, 2023
bc68bee
:bug: mastery of new implementations
vikiival Nov 20, 2023
5ad4e2d
:zap: using mainfreame
vikiival Nov 20, 2023
db573f0
:squid: typegen v2
vikiival Nov 20, 2023
6a3703a
:sparkles: mainframe
vikiival Nov 20, 2023
15c4f96
:squid: typegen v2
vikiival Nov 20, 2023
ed2dae9
:truck: new naming for Asset Hubs
vikiival Nov 20, 2023
67d2d99
:truck: new naming for Asset Hubs
vikiival Nov 20, 2023
80802e5
:construction: change import
vikiival Nov 20, 2023
6e9980b
:construction: remove Event(ctx)
vikiival Nov 20, 2023
b2437e8
:construction: replaced .Uniques with .
vikiival Nov 20, 2023
607b8af
:construction: remove new from events
vikiival Nov 20, 2023
e8c9555
:construction: transform to lowercase
vikiival Nov 20, 2023
b5f326b
:zap: logical replacement
vikiival Nov 20, 2023
d4d3671
--amend
vikiival Nov 20, 2023
d8c9c0c
:zap: logical replacement
vikiival Nov 20, 2023
58d8c66
:zap: magick
vikiival Nov 20, 2023
b53042d
:truck: move according new namings
vikiival Nov 20, 2023
593b38d
:truck: move according new namings in nft pallet
vikiival Nov 20, 2023
5c9433e
:robot: new just
vikiival Nov 20, 2023
cd9036e
:robot: new just
vikiival Nov 20, 2023
bb274d2
:robot: build before process
vikiival Nov 20, 2023
0c58891
:wrench: working stuff
vikiival Nov 20, 2023
791e8bd
:loud_sound: debug from metasquid
vikiival Nov 20, 2023
8429ce7
:zap: correct way of doing things
vikiival Nov 20, 2023
05a750d
:robot: came, saw, conquer
vikiival Nov 20, 2023
5633a11
:robot: supaoptimized quick
vikiival Nov 20, 2023
497f59b
:label: fieldSelection
vikiival Nov 20, 2023
2da7dcf
:zap: very fancy hacking
vikiival Nov 20, 2023
2c5ccda
:zap: cute context
vikiival Nov 20, 2023
ad1a53b
:label: OMG TYPES!!
vikiival Nov 20, 2023
aaf08e1
:zap: types
vikiival Nov 21, 2023
ef6252b
:zap: import store from Store
vikiival Nov 21, 2023
36aa421
πŸ“£ optionally logger
vikiival Nov 21, 2023
6fc2beb
:bug: nft mappings
vikiival Nov 21, 2023
1d1a965
:shrug: probably how to do things
vikiival Nov 21, 2023
f9ab284
Merge remote-tracking branch 'origin/main' into arrow-stick
vikiival Dec 28, 2023
9c84018
:arrow_up: Arrow Stick
vikiival Dec 28, 2023
ab9e104
:arrow_up: Arrow Stick
vikiival Dec 28, 2023
e9c6b53
:wastebasket: remove dummy handler
vikiival Dec 28, 2023
0ed64b1
:boom: @kodadot1/metasquid
vikiival Dec 29, 2023
7b7fb3e
:construction: MVP
vikiival Dec 29, 2023
f38eaa7
:bug: :label: Property 'prototype' is missing in type 'Store' but req…
vikiival Dec 29, 2023
19abfce
:zap: using emOf() for non-compatible queries
vikiival Dec 29, 2023
e324974
:zap: :technologist: emOf saves the day
vikiival Dec 29, 2023
5a7be96
:zap: :technologist: emOf saves the day
vikiival Dec 29, 2023
e53c4be
:label: :technologist: Reexported fields as selections
vikiival Dec 30, 2023
8eca90b
:zap: veeery big handler
vikiival Dec 30, 2023
d077ea1
Merge remote-tracking branch 'origin/main' into arrow-stick
vikiival Jan 12, 2024
55ba59e
:truck: Context is confusing in ksm getters
vikiival Jan 12, 2024
1e15948
:zap: very fake compat
vikiival Jan 12, 2024
516ee07
:bug: emOf
vikiival Jan 12, 2024
9ab8859
⏳ well test time
vikiival Jan 12, 2024
b132a4d
:zap: then you stepped out
vikiival Jan 12, 2024
06bf08a
:tada: typegen for v2 on ahp
vikiival Jan 12, 2024
54c88fb
:boom: polkadot types
vikiival Jan 12, 2024
9abad49
:truck: statemint -> polkadot
vikiival Jan 12, 2024
e1e303f
:tada: uniques @ polkadot
vikiival Jan 12, 2024
01573ff
:tada: nfts @ polkadot
vikiival Jan 12, 2024
f18a487
πŸ¦„ uuu
vikiival Jan 12, 2024
7dd0650
:zap: missing handlers
vikiival Jan 15, 2024
01e1305
:zap: unHex
vikiival Jan 15, 2024
c4584a8
:boom: hex is my best fren
vikiival Jan 15, 2024
3963c0d
:bug: incorrect codec
vikiival Jan 15, 2024
822331d
:robot: dump as you go
vikiival Jan 16, 2024
c6988a1
:zap: unhex values
vikiival Jan 16, 2024
67cda40
:bug: key is hex value too
vikiival Jan 16, 2024
37608ac
:bug: do not hex the value
vikiival Jan 16, 2024
85b41ee
:zap: hexify in the handler
vikiival Jan 16, 2024
ab5ac48
:zap: royalty works!
vikiival Jan 17, 2024
77b18bb
:heavy_plus_sign: @kodadot1/hyperdata
vikiival Jan 17, 2024
253a4c8
:boom: compatible metadata
vikiival Jan 17, 2024
2d8597d
πŸ“– readme
roiLeo Jan 17, 2024
60f58d3
:squid: typegen for assets
vikiival Jan 17, 2024
99a3ddb
:squid: TYPEGEN
vikiival Jan 17, 2024
6ecc325
:squid: TYPEGEN
vikiival Jan 17, 2024
0ad0146
:squid: TYPEGEN On events
vikiival Jan 17, 2024
f839dd5
:squid: Typegen final
vikiival Jan 17, 2024
e00bdf0
:wave: Asset
vikiival Jan 17, 2024
04cdf61
:zap: enable metadata set
vikiival Jan 17, 2024
17cba47
:broom: imports
vikiival Jan 17, 2024
10ff323
:tada: getters for assets
vikiival Jan 17, 2024
e2bf2ef
:tada: assets
vikiival Jan 17, 2024
af864eb
:zap: register assets
vikiival Jan 17, 2024
00f4b1f
:label: Chain type
vikiival Jan 17, 2024
313fe7a
:zap: new ops
vikiival Jan 17, 2024
a2dbb95
:wrench: Start block
vikiival Jan 17, 2024
34a5532
:zap: force create tokens
vikiival Jan 17, 2024
0a48dff
Merge pull request #199 from kodadot/very-nice-assets
vikiival Jan 17, 2024
a2c2107
✨ royalty event
roiLeo Jan 22, 2024
4de9c0f
:wrench: enable typegen of update_mint_settings call
vikiival Jan 22, 2024
8ddaf93
:squid: Typegen for Kusama on call
vikiival Jan 22, 2024
b03a63f
:squid: Typegen for Polkadot on call
vikiival Jan 22, 2024
a49ee50
:wrench: NonFungibleCall are new processables
vikiival Jan 22, 2024
3f57fa0
:zap: update mint settings getter
vikiival Jan 22, 2024
75e7391
:label: update mint settings
vikiival Jan 22, 2024
00fe586
:tada: cool getter
vikiival Jan 22, 2024
b294037
:alien: collection type + settings
vikiival Jan 22, 2024
11e7670
:squid: codgen on collection settings
vikiival Jan 22, 2024
1f93bd1
:zap: collectionSettingOf
vikiival Jan 22, 2024
0d9dbfe
:tada: update mint settings
vikiival Jan 22, 2024
a4a4872
:zap: update mint settings
vikiival Jan 22, 2024
a92e09b
:label: CollectionType on collection.type
vikiival Jan 23, 2024
930cea3
Merge pull request #202 from kodadot/feat/collection-type
vikiival Jan 23, 2024
af8d823
Merge remote-tracking branch 'origin/arrow-stick' into feature/royalt…
roiLeo Jan 23, 2024
efd8533
✨ royalty tips
roiLeo Jan 23, 2024
d88ca4a
:heavy_plus_sign: vitest
vikiival Jan 23, 2024
23c825b
:tada: :test_tube: unit tests
vikiival Jan 23, 2024
1d6461c
:technologist: mark old functions as deprecated
vikiival Jan 23, 2024
6fa93d6
:tada: :test_tube: unit test for unhex
vikiival Jan 23, 2024
9af964c
Merge pull request #203 from kodadot/feat/very-tests
vikiival Jan 23, 2024
1338845
Merge pull request #201 from roiLeo/feature/royalty/event
vikiival Jan 23, 2024
4406072
:alien: CacheStatus
vikiival Jan 23, 2024
b0c85e3
:squid: codgen on CacheStatus
vikiival Jan 23, 2024
cb9750d
:tada: caaaache
vikiival Jan 23, 2024
b2fa71e
:zap: enable cache;
vikiival Jan 23, 2024
e0cc6c8
πŸ“– readme
roiLeo Jan 23, 2024
8bc71d4
Merge pull request #206 from kodadot/feat/retry-ipfs
vikiival Jan 23, 2024
aba270e
Merge pull request #205 from roiLeo/chore/readme/arrow
vikiival Jan 23, 2024
7012c40
πŸ”§ lint code
roiLeo Jan 23, 2024
7511aa4
Merge pull request #210 from roiLeo/chore/linter
vikiival Jan 23, 2024
14cc99f
Add migration for cache_status table
vikiival Jan 23, 2024
6b7af79
:wrench: hacking over docker compose
vikiival Jan 24, 2024
de9506b
:mute: do not process assets
vikiival Jan 24, 2024
86ad9ac
:zap: enable call
vikiival Jan 24, 2024
b1683e9
:pray: test run before submit
vikiival Jan 24, 2024
40012b6
:test_tube: human test
vikiival Jan 24, 2024
e7ab4a1
Add unHex function to handle hex values in asset names and symbols
vikiival Jan 29, 2024
6bd9c29
:wrench: use RPC to finish
vikiival Jan 29, 2024
22d38bd
:mute: disable chache update
vikiival Jan 29, 2024
c241ebe
:wrech: use allowList
vikiival Jan 29, 2024
50b3110
:docs: architecture of the squid
vikiival Jan 29, 2024
959ba52
Merge pull request #212 from kodadot/docs/better-readme
vikiival Jan 29, 2024
3aaf029
:bug: :memo: missing migrate
vikiival Feb 8, 2024
1cda35b
:bug: :memo: incorrect order of running readme
vikiival Feb 13, 2024
5fbdf1f
:memo: :technologist: inline documenting schema
vikiival Feb 16, 2024
88220bb
:memo: :technologist: inline documenting entrypoints
vikiival Feb 16, 2024
fdf4096
:memo: :technologist: inline documenting helpers
vikiival Feb 16, 2024
fe57d4b
:memo: :technologist: inline documenting all helpers
vikiival Feb 17, 2024
d41de34
:memo: :technologist: inline documenting all nfts pallet
vikiival Feb 17, 2024
6bf9fbf
:memo: :technologist: inline documenting all assets
vikiival Feb 17, 2024
a9e9a01
:memo: :technologist: inline documenting all uniques
vikiival Feb 17, 2024
1c80018
:memo: :technologist: inline documenting processable
vikiival Feb 17, 2024
3b628fc
:memo: :test_tub: how to test
vikiival Feb 17, 2024
5cad6f3
:memo: :bug: minor typos
vikiival Feb 17, 2024
f76abd7
Merge pull request #222 from kodadot/chore/inline-docs
vikiival Feb 17, 2024
78f61d3
:memo: :bug: missing annotation in uniques/create
vikiival Feb 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/mappings/assets/forceToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const systemAsset: Record<Chain, Asset> =
},
}

export const ALLOW_LIST = ['1984']
vikiival marked this conversation as resolved.
Show resolved Hide resolved

export async function forceCreateSystemAsset(context: BatchContext<Store>): Promise<void> {
pending(OPERATION, `${context.blocks.at(0)?.header.height}`)
const selected = systemAsset[CHAIN]
Expand Down
3 changes: 2 additions & 1 deletion src/mappings/assets/setMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import { Context } from '../utils/types'
// import { tokenIdOf } from './types'
import { AssetEntity as AE } from '../../model'
import { getCreateAssetMetadataEvent } from './getters'
import { ALLOW_LIST } from './forceToken'

const OPERATION = 'METADATA' as any

export async function handleAssetMetadataSet(context: Context): Promise<void> {
const event = unwrap(context, getCreateAssetMetadataEvent)
debug(OPERATION, event)

if (event.id !== '1984') {
if (!ALLOW_LIST.includes(event.id)) {
return
}

Expand Down