-
Notifications
You must be signed in to change notification settings - Fork 21
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: gno ghverify agent #1288
base: main
Are you sure you want to change the base?
feat: gno ghverify agent #1288
Conversation
✅ Deploy Preview for testitori ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for teritori-dapp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
4db95bf
to
10a9bf1
Compare
051b7cf
to
207407a
Compare
0cbe6ef
to
e29c5e4
Compare
e29c5e4
to
472bf06
Compare
maybe we should move that to a new repo? if we keep it here pls move it to |
gno_github_agent/.env
Outdated
@@ -0,0 +1,5 @@ | |||
GNO_MNEMONIC=source bonus chronic canvas draft south burst lottery vacant surface solve popular case indicate oppose farm nothing bullet exhibit title speed wink action roast |
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.
Is this normal that we keep this mnemonic here ?
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.
fixed on f4a2a1f
err := client.db.Model(&db.Verification{}).Where("status = ?", string(db.VerificationStatusVerified)).Order("id desc").First(&verification).Error | ||
|
||
if err != nil { | ||
if errors.Is(err, gorm.ErrRecordNotFound) { |
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.
I dont see the purpose if this error checking :o both cases return the same value
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.
fixed on f4a2a1f
gno_github_agent/clientql/client.go
Outdated
if attr.Key == "handle" { | ||
handle = attr.Value | ||
} | ||
if attr.Key == "from" { |
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 use else if
to prevent one more unused comparison
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.
fixed on f4a2a1f
I think we should indeed move it to his own repository, I'll do as soon as this PR is approuved |
No description provided.