-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Proxy colonies] Feat: Add create event details to colony model #3920
[Proxy colonies] Feat: Add create event details to colony model #3920
Conversation
fdb5afb
to
8ce21fe
Compare
scripts/getColonyCreatedBlock.js
Outdated
getColonies, | ||
{ | ||
limit, | ||
nextToken, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should filter for colonies not having the createdAtBlock
set
8ce21fe
to
8172e1e
Compare
8eec38d
to
a526a58
Compare
a526a58
to
c9753d7
Compare
Feat: Get colony creation event and update colony model Chore: Update block ingestor hash
c9753d7
to
e981891
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3f616d8
to
9a275cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We worked on this together, so I'm approving it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
This PR adds colony creation data to the colony so we can easily create new proxy colonies.
Remember to pull the scripts repo too and test it there 🙏
Scripts PR
Block ingestor PR
Testing
TODO: Let us test the colony creation event details are actually properly saved 🦾
Step 1. Make sure to start a fresh env by running
npm run dev
Step 2. Now please run the following query to check whether both
planex
andwayne
got thecolonyCreateEvent
populatedStep 3. Now it's time to create a new colony, so please run
node scripts/create-colony-url.js
Step 4. Complete the colony creation form
Step 5. Run the query again and check we've got a new entry with
colonyCreateEvent
details populated for the newly created colonyStep 6. Please try to deploy a new proxy colony on
Sepolia
by selecting it from the dropdown and pressing theCreate proxy colony
buttonStep 7. After a page refresh, you should see it listed below the
Create proxy colony
buttonStep 8. Enable metatransactions on your account. Run
node scripts/create-colony-url.js
and create a new colony.Step 9. Run the query
and verify that the colony got the creation salt.
Step 10. Try to create a new proxy colony on
Sepolia
on your new colony created with metatx, refresh the page and verify that it gets deployed successfully 💯Diffs
New stuff ✨
Changes 🏗
Added
ColonyCreateEvent
to the colony object which we use for lookup when deploying a proxy colonyDeletions go here
Contributes to #3768