Skip to content

Commit f9cf992

Browse files
committed
feat(xdai): added DynamoDB tables for xDAI
1 parent e54ea6e commit f9cf992

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

--output

Whitespace-only changes.

--region

Whitespace-only changes.

.editorconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,3 @@ insert_final_newline = true
1010

1111
[*.md]
1212
trim_trailing_whitespace = false
13-
14-
[*.js]
15-
max_line_length = 80
16-
indent_brace_style = 1TBS
17-
spaces_around_operators = true
18-
quote_type = single

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
"data-uri-to-buffer": "^2.0.0",
3939
"image-size": "^0.6.3",
4040
"web3": "^1.2.4"
41+
},
42+
"volta": {
43+
"node": "10.24.1"
4144
}
4245
}

serverless.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,16 @@ functions:
258258
Action: ['dynamodb:Query'],
259259
Resource: 'arn:aws:dynamodb:us-east-2:547511976516:table/mainnet-justifications',
260260
}
261+
- {
262+
Effect: Allow,
263+
Action: ['dynamodb:Query'],
264+
Resource: 'arn:aws:dynamodb:us-east-2:547511976516:table/sokol-justifications',
265+
}
266+
- {
267+
Effect: Allow,
268+
Action: ['dynamodb:Query'],
269+
Resource: 'arn:aws:dynamodb:us-east-2:547511976516:table/xdai-justifications',
270+
}
261271
documentation:
262272
summary: 'Get justifications for a dispute round.'
263273
description: 'Get justifications for a dispute round.'
@@ -304,6 +314,16 @@ functions:
304314
Action: ['dynamodb:PutItem'],
305315
Resource: 'arn:aws:dynamodb:us-east-2:547511976516:table/mainnet-justifications',
306316
}
317+
- {
318+
Effect: Allow,
319+
Action: ['dynamodb:PutItem'],
320+
Resource: 'arn:aws:dynamodb:us-east-2:547511976516:table/sokol-justifications',
321+
}
322+
- {
323+
Effect: Allow,
324+
Action: ['dynamodb:PutItem'],
325+
Resource: 'arn:aws:dynamodb:us-east-2:547511976516:table/xdai-justifications',
326+
}
307327
documentation:
308328
summary: 'Put justification for a vote.'
309329
description: 'Put justification for a vote.'

0 commit comments

Comments
 (0)