Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

tooling<-3.3.1 #46

Open
wants to merge 3 commits into
base: tooling
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 12 additions & 1 deletion app/db/ColumnsAndIndices.sql
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ call AddColumnIfNotExists(
'polymesh-harvester',
'data_event',
'fundraiser_offering_asset',
"varchar(12) GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(JSON_KEYS(attributes, '$[3].value.offering_asset'), '$[0]'))) STORED NULL AFTER `corporate_action_ticker`");
"varchar(12) GENERATED ALWAYS AS (attributes->> '$[3].value.offering_asset') STORED NULL AFTER `corporate_action_ticker`");
call AddColumnIfNotExists(
'polymesh-harvester',
'data_event',
'transfer_to',
"varchar(100) GENERATED ALWAYS AS (attributes->> '$[3].value.did') STORED NULL AFTER `fundraiser_offering_asset`");

call AddIndexIfNotExists(
'polymesh-harvester',
Expand Down Expand Up @@ -123,6 +128,12 @@ call AddIndexIfNotExists(
'ix_data_event_fundraiser_offering_asset',
'fundraiser_offering_asset');

call AddIndexIfNotExists(
'polymesh-harvester',
'data_event',
'ix_data_event_transfer_to',
'transfer_to');

call AddIndexIfNotExists(
'polymesh-harvester',
'data_event',
Expand Down
2 changes: 1 addition & 1 deletion py-scale-codec
2 changes: 1 addition & 1 deletion py-substrate-interface
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ py-sr25519-bindings==0.1.2
py-ed25519-bindings==0.1.2
py-bip39-bindings==0.1.6

polymath-scalecodec==3.2.1
polymath-substrate-interface==3.2.1
polymath-scalecodec==3.3.1
polymath-substrate-interface==3.3.1