Coder Social home page Coder Social logo

teia-community / hicdex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from integrolabs/hicdex

2.0 2.0 7.0 941 KB

Home Page: https://api.hicdex.com

License: GNU Affero General Public License v3.0

Dockerfile 0.10% Makefile 3.44% Python 96.46%

hicdex's People

Contributors

droserasprout avatar jmagly avatar m-kus avatar nftbiker avatar nftprotector avatar vhf avatar xat avatar zir0h avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

hicdex's Issues

Error in on_subjkt_register

hicdex-hicdex-1 | Traceback (most recent call last):
hicdex-hicdex-1 | File "/home/dipdup/source/src/dipdup/context.py", line 602, in _callback_wrapper
hicdex-hicdex-1 | yield
hicdex-hicdex-1 | File "/home/dipdup/source/src/dipdup/context.py", line 541, in _fire_handler
hicdex-hicdex-1 | await handler_config.callback_fn(new_ctx, *args, **kwargs)
hicdex-hicdex-1 | File "/home/dipdup/src/hicdex/handlers/on_subjkt_register.py", line 42, in on_subjkt_register
hicdex-hicdex-1 | holder.description = holder.metadata.get('description', '')
hicdex-hicdex-1 | AttributeError: 'bytes' object has no attribute 'get'

IntegrityError: null value in column "attributes" of relation "token" violates not-null constraint

`hicdex.handlers.on_mint` callback execution failed:

              IntegrityError: null value in column "attributes" of relation "token" violates not-null constraint
DETAIL:  Failing row contains (457607, t16many-f007, t16many-f007

test mass minting
, ipfs://QmbntmE9zAwbexcd83PqMrkXPhMFLBResJoBXVwN8d4mzA, ipfs://QmbntmE9zAwbexcd83PqMrkXPhMFLBResJoBXVwN8d4mzA, ipfs://QmNrhZHUaEqxhyLfqoq1mtHSipkWHeT31LNHb1QEbDHgnc, ipfs://QmNmGV9r7RJ7ihMBzFwwbkgYh419EAQAu3GWsdc2gN2zpe, {}, image/png, 250, 4, 0, f, 1794972, 2021-10-21 04:27:20+00, , , [{"uri": "ipfs://QmbntmE9zAwbexcd83PqMrkXPhMFLBResJoBXVwN8d4mzA"..., , null, {}, , tz1doEYVYUayA5K9mM5TFrZH4BqTsGKGFEKd).

https://ipfs.teia.rocks/ipfs/QmNmGV9r7RJ7ihMBzFwwbkgYh419EAQAu3GWsdc2gN2zpe

Fix get_subjkt_metadata calls

Currently the metadata is cached based on the tz address. If someone tries to update it, the indexer hits the cache and nothing changes.
Maybe remove the cache, of use the metadata ipfs url as filename.

Updating to 6.0.1 throws an error

dipdup.exceptions.DatabaseConfigurationError: DipDup can't initialize database with given models and parameters
________________________________________________________________________________

Model field names must differ from table name

Model: `Shareholder`
Table: `shareholder`

class Shareholder(Model):
split_contract: ForeignKeyFieldInstance[Holder] = fields.ForeignKeyField(
'models.SplitContract', 'shareholder', index=True
)
holder: ForeignKeyFieldInstance[Holder] = fields.ForeignKeyField('models.Holder', 'shareholder', index=True)
shares = fields.BigIntField()
holder_type = fields.CharEnumField(ShareholderStatus, default=ShareholderStatus.unspecified)
holder_id: str

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.