Skip to content

[explorer] feat: Added account remark table.#2223

Open
AnthonyLaw wants to merge 6 commits into
devfrom
explorer/add-remark-table
Open

[explorer] feat: Added account remark table.#2223
AnthonyLaw wants to merge 6 commits into
devfrom
explorer/add-remark-table

Conversation

@AnthonyLaw
Copy link
Copy Markdown
Member

Problem: Missing account remarks table.
Solution:

  • Added an account remarks table.
  • Added the --account-remarks flag to allow flexible updates or adding more account information.
  • Updated the query to retrieve remarks information.

@AnthonyLaw AnthonyLaw force-pushed the explorer/add-remark-table branch from 057a853 to 227b5b2 Compare May 28, 2026 09:14
@AnthonyLaw AnthonyLaw force-pushed the explorer/add-remark-table branch from 227b5b2 to 52f0bf0 Compare May 28, 2026 09:19
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.95%. Comparing base (07ebdad) to head (6f340f4).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #2223   +/-   ##
=======================================
  Coverage   96.94%   96.95%           
=======================================
  Files         267      267           
  Lines       19638    19649   +11     
  Branches      215      215           
=======================================
+ Hits        19039    19050   +11     
  Misses        593      593           
  Partials        6        6           
Flag Coverage Δ
explorer-puller 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
explorer/puller/puller/db/NemDatabase.py 100.00% <100.00%> (ø)
explorer/puller/puller/workflows/sync_nem_block.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

'''
CREATE TABLE IF NOT EXISTS account_remarks (
address bytea PRIMARY KEY,
remarks varchar NOT NULL
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remarks => remark

'''
INSERT INTO account_remarks (
address,
remarks
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remarks => remark
below also

cosignatory_of,
cosignatories
cosignatories,
remarks
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remarks => remark

'cosignatoryOf': self.cosignatory_of,
'cosignatories': self.cosignatories
'cosignatories': self.cosignatories,
'remarks': self.remarks
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remarks => remark

# Create Account remarks table
cursor.execute(
'''
CREATE TABLE IF NOT EXISTS account_remarks (
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

account_remarks => account_remark

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.

2 participants