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

feat: pop api crate #16

Merged
merged 8 commits into from
Mar 2, 2024
Merged

feat: pop api crate #16

merged 8 commits into from
Mar 2, 2024

Conversation

peterwht
Copy link
Collaborator

@peterwht peterwht commented Mar 2, 2024

No description provided.

@peterwht peterwht merged commit 6c2b419 into feat/pop-api Mar 2, 2024
1 check passed
@peterwht peterwht deleted the feat/pop-api-crate branch March 2, 2024 02:13
evilrobot-01 added a commit that referenced this pull request Mar 6, 2024
* ci: add build workflow

* chore: improve zombienet config

* ci: grant write permission to actions

* feat: initialize pop-api directory

* feat: add codec indexes, and wrap NFT interface

* feat: add example contract utilizing pop-api crate -- not working

* feat: minting NFT from contract through runtime works

* feat pop api crate refactoring and test (#15)

* refactor: simplify api usage from contract

* test: add NFT mint unit test to pop api extension

---------

Co-authored-by: Frank Bell <frank@r0gue.io>

---------

Co-authored-by: Frank Bell <frank@r0gue.io>
evilrobot-01 added a commit that referenced this pull request Mar 6, 2024
* ci: add build workflow

* chore: improve zombienet config

* ci: grant write permission to actions

* feat: initialize pop-api directory

* feat: add codec indexes, and wrap NFT interface

* feat: add example contract utilizing pop-api crate -- not working

* feat: minting NFT from contract through runtime works

* feat pop api crate refactoring and test (#15)

* refactor: simplify api usage from contract

* test: add NFT mint unit test to pop api extension

---------

Co-authored-by: Frank Bell <frank@r0gue.io>

---------

Co-authored-by: Frank Bell <frank@r0gue.io>
peterwht added a commit that referenced this pull request Mar 6, 2024
* feat: PoC of chain-extension reimplementing call_runtime

* feat: use proper origin for pop api chain extension, start weight calculations

* feat: start adding unit test for pop api chain extension

* chore: update cargo.lock

* feat: unit test works for pop api chain extension

* chore: cargo fmt

* feat: pop api crate (#16)

* ci: add build workflow

* chore: improve zombienet config

* ci: grant write permission to actions

* feat: initialize pop-api directory

* feat: add codec indexes, and wrap NFT interface

* feat: add example contract utilizing pop-api crate -- not working

* feat: minting NFT from contract through runtime works

* feat pop api crate refactoring and test (#15)

* refactor: simplify api usage from contract

* test: add NFT mint unit test to pop api extension

---------

Co-authored-by: Frank Bell <frank@r0gue.io>

---------

Co-authored-by: Frank Bell <frank@r0gue.io>

* feat: add secure weight charging for pop-api extension

* chore: update zombienet config

* feat: query_state & pop_api_primitives (#14)

* demo_contract:query_runtime

* pop-api-ext:query

* read relay_block# & state

* unused import

* ci: add build workflow

* chore: improve zombienet config

* ci: grant write permission to actions

* feat: initialize pop-api directory

* feat: add codec indexes, and wrap NFT interface

* feat: add example contract utilizing pop-api crate -- not working

* feat: minting NFT from contract through runtime works

* feat: generic state reads

* chore: fmt

* RuntimeStateKeys

* clean keys

* fmt

* cumulus_parachain_system is accessible

---------

Co-authored-by: Frank Bell <frank@r0gue.io>
Co-authored-by: Peter White <petras9789@gmail.com>

* fix: failing contract builds

* refactor: general refactoring, versioned function selector and code cleanup

* feat(pop-api): errors

* refactor: improve error handling

* chore: tidy up manifest

* clean & rename tests

* refactor: clean up and simplify

* test: ignore tests which expect built contracts

* style: formatting

---------

Co-authored-by: Frank Bell <frank@r0gue.io>
Co-authored-by: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com>
Co-authored-by: Frank Bell <60948618+evilrobot-01@users.noreply.github.com>
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