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

fix(L-02): Inconsistent Implementations in ERC-721 Extension #331

Draft
wants to merge 5 commits into
base: v0.1.0
Choose a base branch
from

Conversation

qalisander
Copy link
Member

@qalisander qalisander commented Oct 9, 2024

These changes are based on ERC-165 (#309). Should be merged after that pr.
Resolves #312

bidzyyys and others added 4 commits October 9, 2024 23:11
- [x]  Set `motsu` version to `v0.1.0`
- [x] Improve version management for the workspace
- `contracts`, `lib/crypto`, `examples`, and `benches` use version set
for the whole workspace
- `motsu`, `motsu-proc`, `e2e`, `e2e-proc` have their own version per
crate
- [x] Cleanup dependencies for the workspace
- [x] Add CI checks for pre-publishing on crates.io
- [x] Fix issues with publishing `motsu` to crates.io:
```
cargo publish -p motsu --target wasm32-unknown-unknown --dry-run
    Updating crates.io index
error: all dependencies must have a version specified when publishing.
dependency `motsu-proc` does not specify a version
Note: The published dependency will use the version from crates.io,
the `path` specification will be removed from the dependency declaration.
```

---------

(cherry picked from commit b1eef80)
Adds erc165 standard altogether with a proc macro, that lets to compute
interface id in a simple way.

<!-- Fill in with issue number -->
Resolves #33

#### PR Checklist

- [x] Tests
- [x] Documentation

---------

Co-authored-by: Daniel Bigos <[email protected]>
(cherry picked from commit 9b04143)
Adds erc165 standard altogether with a proc macro, that lets to compute
interface id in a simple way.

<!-- Fill in with issue number -->
Resolves #33

#### PR Checklist

- [x] Tests
- [x] Documentation

---------

Co-authored-by: Daniel Bigos <[email protected]>
(cherry picked from commit 9b04143)
@qalisander qalisander force-pushed the fix/L-02-Inconsistent-Implementations-in-ERC-721-Extension branch from cf83cf6 to e6851f4 Compare October 9, 2024 19:21
@@ -2,6 +2,10 @@
pragma solidity ^0.8.21;

contract Erc721ConsecutiveExample {
string private _name;
Copy link
Member Author

Choose a reason for hiding this comment

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

Changes to solidity constructor bring an error from koba. Without them and without additional fields inside Erc721, consecutive extension's tests can pass.

@bidzyyys bidzyyys requested a review from ggonzalez94 October 11, 2024 16:36
bidzyyys added a commit that referenced this pull request Oct 17, 2024
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