Skip to content
This repository was archived by the owner on Aug 12, 2023. It is now read-only.

Commit 086e66a

Browse files
committed
Remove default value for fillCreated field
1 parent 1e951aa commit 086e66a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/consumers/fetch-transaction/index.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ describe('consumers/fetch-transaction', () => {
164164

165165
expect(events).toEqual([
166166
expect.objectContaining({
167-
fillCreated: false,
168167
blockNumber: 10141741,
169168
data: {
170169
from: '0x36691C4F426Eb8F42f150ebdE43069A31cB080AD',

src/model/event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { Schema } = mongoose;
55
const schema = Schema({
66
blockNumber: { required: true, type: Number },
77
data: { required: true, type: Schema.Types.Mixed },
8-
fillCreated: { type: Boolean, default: false },
8+
fillCreated: { type: Boolean },
99
logIndex: { required: true, type: Number },
1010
protocolVersion: { required: true, type: Number },
1111
scheduler: {

0 commit comments

Comments
 (0)