0xFableOrg / 0xFable

A fully on-chain trading card game. There will be elves, wizards & shit. Drama and broken friendships also.
https://twitter.com/0xFableGame
BSD 3-Clause Clear License
103 stars 35 forks source link

refactor: split Game.sol to fit under contract size #98

Closed 0xnonso closed 6 months ago

0xnonso commented 6 months ago

Context (Problem, Motivation, Solution)

Game.sol contract code size exceeds max limit. closes https://github.com/0xFableOrg/0xFable/issues/92.

Describe Your Changes

Split Game.sol to fit under contract size.

Checklist

Testing

nil

norswap commented 6 months ago

You need to rebase this onto master locally.

Here's how you can do it:

# this will remove your merge commit and your revert to the equivalent state without these commits
git reset --hard head~2

git remote add upstream git@github.com:0xFableOrg/0xFable.git
# or if using https: git remote add upstream https://github.com/0xFableOrg/0xFable.git
git fetch upstream
git rebase origin/master
git push --force

After that we should be able to merge this here easily. Don't hesitate to reach out if you run into any problem.

norswap commented 6 months ago

🚀