-
Notifications
You must be signed in to change notification settings - Fork 1
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
Enhancement/event based form integration #251
Conversation
Sital999
commented
Nov 6, 2024
- Backend support for event-based integration on agent-node
ae20e09
to
17f0b2b
Compare
f62afa8
to
5c57ec2
Compare
value: `${tx.hash.toString('hex')}#${index}`, | ||
})) | ||
: null | ||
} catch (err) { |
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.
log error with warning so that it can be debugged later.
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.
log added
let result | ||
const matchedTxPath: any = [] | ||
try { | ||
console.log( |
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.
remove this
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.
Done
[], | ||
matchedTxPath | ||
) | ||
console.log('tx=', tx.hash.toString('hex'), 'solution=', result) |
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.
remove this
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.
It is required to log the boolean of the filter
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.
It has been replaced with console.debug
const eventBasedActions = formatEventFilter( | ||
checkIfAgentWithEventTriggerTypeExists(configurations) | ||
) | ||
console.log('hello : ', eventBasedActions) |
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.
remove this
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.
done
agent-node/src/utils/cardano.ts
Outdated
@@ -25,6 +25,29 @@ export function rewardAddressBech32( | |||
) | |||
} | |||
|
|||
export function convertToBufferIfBech32(address: any): Buffer | string| any { |
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 still used?
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.
It is used for conversion before comparision of value
_logicalFunctions.register('string','contains',(a:string,b:string)=> a.includes(b) || b.includes(a)) | ||
|
||
// Register handlers for buffers | ||
_logicalFunctions.register('buffer', '==', (a: Buffer, b: Buffer) => |
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.
this is not pretty
d97b702
to
ebe865c
Compare