Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

State-Aware Gbot #164

Merged
merged 18 commits into from
Aug 19, 2020
Merged

State-Aware Gbot #164

merged 18 commits into from
Aug 19, 2020

Conversation

4meta5
Copy link
Collaborator

@4meta5 4meta5 commented Aug 17, 2020

#162

bot should update instead of posting and posting and posting

@4meta5 4meta5 changed the title #162 Stateful Gbot Aug 17, 2020
@4meta5 4meta5 changed the title Stateful Gbot State-Aware Gbot Aug 17, 2020
client/gbot/src/lib.rs Outdated Show resolved Hide resolved
@4meta5
Copy link
Collaborator Author

4meta5 commented Aug 17, 2020

Yay, I got editing issues to work #124 (comment)

@4meta5
Copy link
Collaborator Author

4meta5 commented Aug 17, 2020

most recent example issues with format: bounty issue, submission issue

@4meta5
Copy link
Collaborator Author

4meta5 commented Aug 17, 2020

@shekohex had the idea to hash the issue metadata and store it on-chain to use the chain's global state to check existence before making the calls from client -- this is a good idea. I'm going to do it next!

@4meta5 4meta5 requested review from shekohex and dvc94ch August 18, 2020 05:05
@4meta5 4meta5 marked this pull request as ready for review August 18, 2020 05:05
@4meta5
Copy link
Collaborator Author

4meta5 commented Aug 19, 2020

  • store GithubIssue as a key in the IssueHashSet map

@shekohex had the idea to hash the issue metadata and store it on-chain to use the chain's global state to check existence before making the calls from client -- this is a good idea. I'm going to do it next!

Pretty cool pattern, global hashset

@4meta5 4meta5 merged commit 14ee552 into master Aug 19, 2020
@4meta5 4meta5 deleted the improve-bot branch August 19, 2020 00:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant