Skip to content
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

Fixes referrals flow with new event attributes #10658

Merged
merged 11 commits into from
Jan 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
format
rotorsoft committed Jan 22, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 556464cff7c115ce71e8923f5230146f8bb1f005
7 changes: 1 addition & 6 deletions libs/evm-protocols/src/abis/namespaceFactoryAbi.ts
Original file line number Diff line number Diff line change
@@ -23,12 +23,7 @@ export const namespaceFactoryAbi = [
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'string',
name: 'name',
type: 'string',
},
{ indexed: false, internalType: 'string', name: 'name', type: 'string' },
{
indexed: false,
internalType: 'address',

Unchanged files with check annotations Beta

communityStakeBuyBlock,
);
// namespace deployed + configure stake buy event + explicit buy event
expect(result.events.length).to.equal(3);

Check failure on line 296 in packages/commonwealth/test/devnet/evm/evmChainEvents.spec.ts

GitHub Actions / EVM Devnet Tests (22)

test/devnet/evm/evmChainEvents.spec.ts > EVM Chain Events Devnet Tests > get and migrate events > should return all fetched and parsed logs

AssertionError: expected 2 to equal 3 - Expected + Received - 3 + 2 ❯ test/devnet/evm/evmChainEvents.spec.ts:296:39
const deployedNamespaceEvent = result.events.find(
(e) =>
e.eventSource.eventSignature ===
event_name: EventNames.ChainEventCreated;
event_payload: z.infer<typeof coreEvents.ChainEventCreated>;
}>;
expect(events.length).to.equal(3);

Check failure on line 439 in packages/commonwealth/test/devnet/evm/evmChainEvents.spec.ts

GitHub Actions / EVM Devnet Tests (22)

test/devnet/evm/evmChainEvents.spec.ts > EVM Chain Events Devnet Tests > EVM Chain Events End to End Tests > should insert events into the outbox

AssertionError: expected 2 to equal 3 - Expected + Received - 3 + 2 ❯ test/devnet/evm/evmChainEvents.spec.ts:439:34
for (const { event_name } of events) {
expect(event_name).to.equal(EventNames.ChainEventCreated);
}