Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit e8f007a

Browse files
authored
change terms (#48)
* update CHANGELOG * change schema and resolver to proposedBlocks * add proposed blocks
1 parent 568e5ee commit e8f007a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGLOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
* [#45] Fixed accounts list resolver
66
* Return validator downtime blocks in resolver
7-
* Return validator validated blocks in resolver
7+
* Return validator proposed blocks in resolver
8+
* Make `validatorGroup` in `Validator` schema not mandatory
89

910
## First Release v0.1.0
1011

imports/api/graphql/resolvers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export default {
188188
hasMore: blocks.length ? blocks[blocks.length - 1].number != 1 : false,
189189
};
190190
},
191-
validatedBlocks(_, { address, pageSize = 20, page = 1 }, context, info){
191+
proposedBlocks(_, { address, pageSize = 20, page = 1 }, context, info){
192192
const totalCounts = Blocks.find({miner:address}).count()
193193
const blocks = Blocks.find(
194194
{miner:address},

imports/api/graphql/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const typeDefs = gql`
190190
pageSize: Int,
191191
page: Int
192192
): TransactionList
193-
validatedBlocks(
193+
proposedBlocks(
194194
address: String
195195
pageSize: Int
196196
page: Int

0 commit comments

Comments
 (0)