Replace poanetwork/poa-explorer urls with poanetwork/blockscout

pull/538/head
Andrew Cravenho 6 years ago committed by Luke Imhoff
parent 5aa6561edb
commit 28e485a5c1
  1. 14
      CONTRIBUTING.md
  2. 2
      PULL_REQUEST_TEMPLATE.md
  3. 2
      apps/block_scout_web/assets/package-lock.json
  4. 4
      apps/block_scout_web/assets/package.json
  5. 2
      apps/block_scout_web/mix.exs
  6. 6
      apps/ethereum_jsonrpc/test/ethereum_jsonrpc/http/mox_test.exs
  7. 2
      apps/explorer/mix.exs
  8. 2
      apps/explorer/package-lock.json
  9. 4
      apps/explorer/package.json
  10. 2
      apps/indexer/lib/indexer/internal_transaction_fetcher.ex
  11. 2
      apps/indexer/test/indexer/sequence_test.exs

@ -1,6 +1,6 @@
## Contributing ## Contributing
1. Fork it ( https://github.com/poanetwork/poa-explorer/fork ) 1. Fork it ( https://github.com/poanetwork/blockscout/fork )
2. Create your feature branch (`git checkout -b my-new-feature`) 2. Create your feature branch (`git checkout -b my-new-feature`)
3. Write tests that cover your work 3. Write tests that cover your work
4. Commit your changes (`git commit -am 'Add some feature'`) 4. Commit your changes (`git commit -am 'Add some feature'`)
@ -20,8 +20,8 @@
### Enhancements ### Enhancements
Enhancements cover all changes that make users lives better: Enhancements cover all changes that make users lives better:
* [feature requests filed as issues](https://github.com/poanetwork/poa-explorer/labels/enhancement) that impact end-user [contributors](https://github.com/poanetwork/poa-explorer/labels/contributor) and [developers](https://github.com/poanetwork/poa-explorer/labels/developer) * [feature requests filed as issues](https://github.com/poanetwork/blockscout/labels/enhancement) that impact end-user [contributors](https://github.com/poanetwork/blockscout/labels/contributor) and [developers](https://github.com/poanetwork/blockscout/labels/developer)
* changes to the [architecture](https://github.com/poanetwork/poa-explorer/labels/architecture) that make it easier for contributors (in the GitHub sense), dev-ops, and deployers to maintain and run poa-explorer * changes to the [architecture](https://github.com/poanetwork/blockscout/labels/architecture) that make it easier for contributors (in the GitHub sense), dev-ops, and deployers to maintain and run blockscout
### Bug Fixes ### Bug Fixes
@ -48,12 +48,12 @@ There is a [PULL_REQUEST_TEMPLATE.md](PULL_REQUEST_TEMPLATE.md) for this reposit
- [ ] Title - [ ] Title
- [ ] Prefix labels if you don't have permissions to set labels in the GitHub interface. - [ ] Prefix labels if you don't have permissions to set labels in the GitHub interface.
* (bug) for [bug](https://github.com/poanetwork/poa-explorer/labels/bug) fixes * (bug) for [bug](https://github.com/poanetwork/blockscout/labels/bug) fixes
* (enhancement) for [enhancement](https://github.com/poanetwork/poa-explorer/labels/enhancement)s * (enhancement) for [enhancement](https://github.com/poanetwork/blockscout/labels/enhancement)s
* (incompatible changes) for [incompatible changes](https://github.com/poanetwork/poa-explorer/labels/incompatible%20changes), such a refactor that removes functionality, changes arguments, or makes something required that wasn't previously. * (incompatible changes) for [incompatible changes](https://github.com/poanetwork/blockscout/labels/incompatible%20changes), such a refactor that removes functionality, changes arguments, or makes something required that wasn't previously.
- [ ] Single sentence summary of change - [ ] Single sentence summary of change
* What was fixed for bugs * What was fixed for bugs
* What was added for enhancements * What was added for enhancements
* What was changed for incompatible changes * What was changed for incompatible changes
See [#255](https://github.com/poanetwork/poa-explorer/pull/255) as an example PR that uses GitHub keywords and a Changelog to explain multiple changes. See [#255](https://github.com/poanetwork/blockscout/pull/255) as an example PR that uses GitHub keywords and a Changelog to explain multiple changes.

@ -2,7 +2,7 @@
## Motivation ## Motivation
*Why should we merge these changes. If using GitHub keywords to close [issues](https://github.com/poanetwork/poa-explorer/issues), this is optional as the motivation can be read on the issue page.* *Why should we merge these changes. If using GitHub keywords to close [issues](https://github.com/poanetwork/blockscout/issues), this is optional as the motivation can be read on the issue page.*
## Changelog ## Changelog

@ -1,5 +1,5 @@
{ {
"name": "poa-explorer", "name": "blockscout",
"requires": true, "requires": true,
"lockfileVersion": 1, "lockfileVersion": 1,
"dependencies": { "dependencies": {

@ -1,10 +1,10 @@
{ {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/poanetwork/poa-explorer.git" "url": "git+https://github.com/poanetwork/blockscout.git"
}, },
"private": true, "private": true,
"name": "poa-explorer", "name": "blockscout",
"author": "POA Network", "author": "POA Network",
"license": "GPL-3.0", "license": "GPL-3.0",
"engines": { "engines": {

@ -126,7 +126,7 @@ defmodule BlockScoutWeb.Mixfile do
[ [
maintainers: ["POA Networks Ltd."], maintainers: ["POA Networks Ltd."],
licenses: ["GPL 3.0"], licenses: ["GPL 3.0"],
links: %{"GitHub" => "https://github.com/poanetwork/poa-explorer"} links: %{"GitHub" => "https://github.com/poanetwork/blockscout"}
] ]
end end
end end

@ -28,10 +28,10 @@ defmodule EthereumJSONRPC.HTTP.MoxTest do
setup :verify_on_exit! setup :verify_on_exit!
describe "json_rpc/2" do describe "json_rpc/2" do
# regression test for https://github.com/poanetwork/poa-explorer/issues/254 # regression test for https://github.com/poanetwork/blockscout/issues/254
# #
# this test triggered a DoS with CloudFlare reporting 502 Bad Gateway # this test triggered a DoS with CloudFlare reporting 502 Bad Gateway
# (see https://github.com/poanetwork/poa-explorer/issues/340), so it can't be run against the real Sokol chain and # (see https://github.com/poanetwork/blockscout/issues/340), so it can't be run against the real Sokol chain and
# must use `mox` to fake it. # must use `mox` to fake it.
test "transparently splits batch payloads that would trigger a 413 Request Entity Too Large", %{ test "transparently splits batch payloads that would trigger a 413 Request Entity Too Large", %{
json_rpc_named_arguments: json_rpc_named_arguments json_rpc_named_arguments: json_rpc_named_arguments
@ -99,7 +99,7 @@ defmodule EthereumJSONRPC.HTTP.MoxTest do
end end
@tag :no_geth @tag :no_geth
# Regression test for https://github.com/poanetwork/poa-explorer/issues/418 # Regression test for https://github.com/poanetwork/blockscout/issues/418
test "transparently splits batch payloads that would trigger a 504 Gateway Timeout", %{ test "transparently splits batch payloads that would trigger a 504 Gateway Timeout", %{
json_rpc_named_arguments: json_rpc_named_arguments json_rpc_named_arguments: json_rpc_named_arguments
} do } do

@ -118,7 +118,7 @@ defmodule Explorer.Mixfile do
[ [
maintainers: ["POA Networks Ltd."], maintainers: ["POA Networks Ltd."],
licenses: ["GPL 3.0"], licenses: ["GPL 3.0"],
links: %{"GitHub" => "https://github.com/poanetwork/poa-explorer"} links: %{"GitHub" => "https://github.com/poanetwork/blockscout"}
] ]
end end
end end

@ -1,5 +1,5 @@
{ {
"name": "poa-explorer", "name": "blockscout",
"requires": true, "requires": true,
"lockfileVersion": 1, "lockfileVersion": 1,
"dependencies": { "dependencies": {

@ -1,10 +1,10 @@
{ {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/poanetwork/poa-explorer.git" "url": "git+https://github.com/poanetwork/blockscout.git"
}, },
"private": true, "private": true,
"name": "poa-explorer", "name": "blockscout",
"author": "POA Network", "author": "POA Network",
"license": "GPL-3.0", "license": "GPL-3.0",
"engines": { "engines": {

@ -140,7 +140,7 @@ defmodule Indexer.InternalTransactionFetcher do
end end
end end
# Protection and improved reporting for https://github.com/poanetwork/poa-explorer/issues/289 # Protection and improved reporting for https://github.com/poanetwork/blockscout/issues/289
defp unique_transactions_params(transactions_params) do defp unique_transactions_params(transactions_params) do
transaactions_params_by_hash_data = Enum.group_by(transactions_params, fn %{hash_data: hash_data} -> hash_data end) transaactions_params_by_hash_data = Enum.group_by(transactions_params, fn %{hash_data: hash_data} -> hash_data end)

@ -62,7 +62,7 @@ defmodule Indexer.SequenceTest do
assert Sequence.pop(pid) == :halt assert Sequence.pop(pid) == :halt
end end
# Regression test for https://github.com/poanetwork/poa-explorer/issues/387 # Regression test for https://github.com/poanetwork/blockscout/issues/387
test "ensures Sequence shuts down when parent process dies" do test "ensures Sequence shuts down when parent process dies" do
parent = self() parent = self()

Loading…
Cancel
Save